Commit a57097ad authored by Ulrich Sibiller's avatar Ulrich Sibiller

Splash.c: remove unneccessary check

PVs finding: "V547 Expression '!nxagentWMPassed' is always true."
parent 1251e834
...@@ -332,15 +332,10 @@ void nxagentRemoveSplashWindow(void) ...@@ -332,15 +332,10 @@ void nxagentRemoveSplashWindow(void)
fprintf(stderr, "%s: Destroying the splash window.\n", __func__); fprintf(stderr, "%s: Destroying the splash window.\n", __func__);
#endif #endif
if (!nxagentWMPassed) #ifdef NXAGENT_ONSTART
{ XSetSelectionOwner(nxagentDisplay, nxagentReadyAtom,
#ifdef NXAGENT_ONSTART nxagentDefaultWindows[0], CurrentTime);
XSetSelectionOwner(nxagentDisplay, nxagentReadyAtom, #endif
nxagentDefaultWindows[0], CurrentTime);
#endif
nxagentWMPassed = True;
}
if (nxagentSplashWindow != None) if (nxagentSplashWindow != None)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment