aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Splash.c
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2019-08-16 13:02:01 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-08-27 08:27:00 +0200
commit60a3c9b0ab58d2ab1574de84b421f0f9e5136b75 (patch)
treee11965615910402a95b4880f94d8e673fde5b540 /nx-X11/programs/Xserver/hw/nxagent/Splash.c
parentdb4c220b2aef5d2c5a8bc9def2558491ac3d7655 (diff)
downloadnx-libs-60a3c9b0ab58d2ab1574de84b421f0f9e5136b75.tar.gz
nx-libs-60a3c9b0ab58d2ab1574de84b421f0f9e5136b75.tar.bz2
nx-libs-60a3c9b0ab58d2ab1574de84b421f0f9e5136b75.zip
nxagent: move nxagentWMPassed to Splash.c
It is only relevant there.
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Splash.c')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Splash.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Splash.c b/nx-X11/programs/Xserver/hw/nxagent/Splash.c
index 6fa092a7d..8f3bc1ede 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Splash.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Splash.c
@@ -65,6 +65,7 @@
Pixmap nxagentPixmapLogo;
Window nxagentSplashWindow = None;
+Bool nxagentWMPassed = False;
static void nxagentPaintLogo(Window win, GC gc, int scale, int width, int height);
@@ -396,6 +397,9 @@ void nxagentPaintLogo(Window win, GC gc, int scale, int width, int height)
void nxagentRemoveSplashWindow(void)
{
+ if (nxagentWMPassed)
+ return;
+
if (nxagentReconnectTrap)
return;