From 2cddd5c5e31f1d46b7a8370ef1c6af4dc33c5bfb Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Tue, 28 Jan 2020 08:20:14 +0100 Subject: Splash.c: add nxagentHaveSplashWindow helper --- nx-X11/programs/Xserver/hw/nxagent/Splash.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'nx-X11/programs/Xserver/hw/nxagent/Splash.c') diff --git a/nx-X11/programs/Xserver/hw/nxagent/Splash.c b/nx-X11/programs/Xserver/hw/nxagent/Splash.c index 06ac62a59..26b897c91 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Splash.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Splash.c @@ -160,6 +160,11 @@ void nxagentShowSplashWindow(Window parentWindow) #endif } +Bool nxagentHaveSplashWindow(void) +{ + return (nxagentSplashWindow != None); +} + void nxagentPaintLogo(Window win, XlibGC gc, int scale, int width, int height) { int depth = DefaultDepth(nxagentDisplay, DefaultScreen(nxagentDisplay)); -- cgit v1.2.3