aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2021-01-04 19:01:55 +0100
committerUlrich Sibiller <uli42@gmx.de>2021-01-15 19:50:36 +0100
commita57097ad005244043262fce395de0e3914fec2d1 (patch)
tree2640df14d9066f2fd148779da41d9165b95d1d39 /nx-X11/programs
parent1251e8347e60edf54a64d64e2059c35e28bd234a (diff)
downloadnx-libs-a57097ad005244043262fce395de0e3914fec2d1.tar.gz
nx-libs-a57097ad005244043262fce395de0e3914fec2d1.tar.bz2
nx-libs-a57097ad005244043262fce395de0e3914fec2d1.zip
Splash.c: remove unneccessary check
PVs finding: "V547 Expression '!nxagentWMPassed' is always true."
Diffstat (limited to 'nx-X11/programs')
-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)
{