From 5cb75ac9bbd3b445b883bb470b7a77387e079620 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Wed, 8 May 2013 11:22:04 +0000 Subject: [PATCH] VNC needs to be initialised early to get its hooks at a proper place. The new patch for 1.13+ broke at least animated cursors by moving VNC further down the init list. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5095 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- unix/xserver113.patch | 14 +++++++------- unix/xserver114.patch | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/unix/xserver113.patch b/unix/xserver113.patch index e0a03d84..da0d590d 100644 --- a/unix/xserver113.patch +++ b/unix/xserver113.patch @@ -80,13 +80,13 @@ diff -up xserver/mi/miinitext.c.vnc xserver/mi/miinitext.c /* The following is only a small first step towards run-time * configurable extensions. */ -@@ -299,6 +303,9 @@ static ExtensionModule staticExtensions[ - #ifdef XSELINUX - {SELinuxExtensionInit, SELINUX_EXTENSION_NAME, &noSELinuxExtension}, - #endif +@@ -238,6 +242,9 @@ EnableDisableExtensionError(const char * + + /* List of built-in (statically linked) extensions */ + static ExtensionModule staticExtensions[] = { +#ifdef TIGERVNC + {vncExtensionInit, "VNC-EXTENSION", NULL}, +#endif - }; - - static ExtensionModule *ExtensionModuleList = NULL; + {GEExtensionInit, "Generic Event Extension", &noGEExtension}, + {ShapeExtensionInit, "SHAPE", NULL}, + #ifdef MITSHM diff --git a/unix/xserver114.patch b/unix/xserver114.patch index 944bc4a3..81b1c709 100644 --- a/unix/xserver114.patch +++ b/unix/xserver114.patch @@ -72,16 +72,16 @@ diff -up xserver/mi/miinitext.c.vnc xserver/mi/miinitext.c /* The following is only a small first step towards run-time * configurable extensions. */ -@@ -302,6 +306,9 @@ static ExtensionModule staticExtensions[ - #ifdef XSELINUX - {SELinuxExtensionInit, SELINUX_EXTENSION_NAME, &noSELinuxExtension}, - #endif +@@ -238,6 +242,9 @@ EnableDisableExtensionError(const char * + + /* List of built-in (statically linked) extensions */ + static ExtensionModule staticExtensions[] = { +#ifdef TIGERVNC + {vncExtensionInit, "VNC-EXTENSION", NULL}, +#endif - }; - - static ExtensionModule *ExtensionModuleList = NULL; + {GEExtensionInit, "Generic Event Extension", &noGEExtension}, + {ShapeExtensionInit, "SHAPE", NULL}, + #ifdef MITSHM diff -up xserver/os/WaitFor.c.vnc xserver/os/WaitFor.c --- xserver/os/WaitFor.c.vnc 2013-04-10 14:51:13.000000000 +0200 +++ xserver/os/WaitFor.c 2013-04-10 14:55:40.000000000 +0200 -- 2.39.5