From 6a0edf58a8e2ac97957c6bbc33a8f7a471e97cd8 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Mon, 14 Jul 2014 13:20:24 +0200 Subject: [PATCH] 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. --- unix/xserver/hw/vnc/xf86vncModule.cc | 4 ++-- 1 file 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(); } } -- 2.39.5