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)
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)
{
......
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