aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Splash.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Splash.c b/nx-X11/programs/Xserver/hw/nxagent/Splash.c
index ea82513e6..37f965f04 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Splash.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Splash.c
@@ -332,15 +332,10 @@ void nxagentRemoveSplashWindow(void)
fprintf(stderr, "%s: Destroying the splash window.\n", __func__);
#endif
- if (!nxagentWMPassed)
- {
- #ifdef NXAGENT_ONSTART
- XSetSelectionOwner(nxagentDisplay, nxagentReadyAtom,
- nxagentDefaultWindows[0], CurrentTime);
- #endif
-
- nxagentWMPassed = True;
- }
+ #ifdef NXAGENT_ONSTART
+ XSetSelectionOwner(nxagentDisplay, nxagentReadyAtom,
+ nxagentDefaultWindows[0], CurrentTime);
+ #endif
if (nxagentSplashWindow != None)
{