summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2014-07-14 13:20:24 +0200
committerPierre Ossman <ossman@cendio.se>2014-07-14 13:20:24 +0200
commit6a0edf58a8e2ac97957c6bbc33a8f7a471e97cd8 (patch)
tree09f53ff0f1be985150f4984cb538037907f8962f
parenta67ca002bb2231341618af19a063fc5365593356 (diff)
downloadtigervnc-6a0edf58a8e2ac97957c6bbc33a8f7a471e97cd8.tar.gz
tigervnc-6a0edf58a8e2ac97957c6bbc33a8f7a471e97cd8.zip
Re-init VNC extension on server reset
fc23895 blocked out a bit too much code when trying to make libvnc handle server resets. Even though configuration should only be handled once, the underlying VNC extension needs to be reinitilised as the X core has removed all extensions on reset.
-rw-r--r--unix/xserver/hw/vnc/xf86vncModule.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/xserver/hw/vnc/xf86vncModule.cc b/unix/xserver/hw/vnc/xf86vncModule.cc
index 58964ccf..bb666ef2 100644
--- a/unix/xserver/hw/vnc/xf86vncModule.cc
+++ b/unix/xserver/hw/vnc/xf86vncModule.cc
@@ -112,9 +112,9 @@ static void vncExtensionInitWithParams(INITARGS)
i.param->setParam(val);
}
}
-
- vncExtensionInit();
}
+
+ vncExtensionInit();
}
}