]> source.dussan.org Git - tigervnc.git/commitdiff
VNC needs to be initialised early to get its hooks at a proper
authorPierre Ossman <ossman@cendio.se>
Wed, 8 May 2013 11:22:04 +0000 (11:22 +0000)
committerPierre Ossman <ossman@cendio.se>
Wed, 8 May 2013 11:22:04 +0000 (11:22 +0000)
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
unix/xserver114.patch

index e0a03d84197ee3dea60509cf300daefc7145a86a..da0d590d3d64547563b2afb09c7202a26c0d1769 100644 (file)
@@ -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
index 944bc4a3ba4b975d50214faf3f5359128885bb4b..81b1c709dd7bd85146bec2487c65ddab7a69743d 100644 (file)
@@ -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