From d569c7599f04c33a771786279312fc3d66da2c86 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Sat, 24 Feb 2024 14:02:02 +0100 Subject: [PATCH] Hide from GNOME to enable animations One GNOME developer had a bad experience with VNC one time, and therefore all VNC must forever be punished. Avoid detection by GNOME so that animations aren't forcefully disabled without any option for the user to re-enable them. --- unix/vncconfig/vncExt.h | 2 +- unix/xserver/hw/vnc/xvnc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/unix/vncconfig/vncExt.h b/unix/vncconfig/vncExt.h index 2b24469e..17f4fecc 100644 --- a/unix/vncconfig/vncExt.h +++ b/unix/vncconfig/vncExt.h @@ -64,7 +64,7 @@ typedef struct { #ifdef _VNCEXT_PROTO_ -#define VNCEXTNAME "VNC-EXTENSION" +#define VNCEXTNAME "TIGERVNC" typedef struct { CARD8 reqType; /* always VncExtReqCode */ diff --git a/unix/xserver/hw/vnc/xvnc.c b/unix/xserver/hw/vnc/xvnc.c index b77f469a..a441f824 100644 --- a/unix/xserver/hw/vnc/xvnc.c +++ b/unix/xserver/hw/vnc/xvnc.c @@ -1117,7 +1117,7 @@ extern void GlxExtensionInit(void); #endif static const ExtensionModule vncExtensions[] = { - {vncExtensionInit, "VNC-EXTENSION", NULL}, + {vncExtensionInit, "TIGERVNC", NULL}, #ifdef GLXEXT #if XORG_OLDER_THAN(1, 20, 0) { GlxExtensionInit, "GLX", &noGlxExtension }, -- 2.39.5