From 8f42d63981084da5880fffa8fec69d3035eac800 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Mon, 20 Sep 2004 12:35:27 +0000 Subject: [PATCH] Adding two new highly optimized splashscreens, "none" (AKA "KDE1.x classic") and "simple" (handcoded using only Xlib). svn path=/trunk/kdebase/ksmserver/; revision=347854 --- main.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index ac74348c68..f9393fdc25 100644 --- a/main.cpp +++ b/main.cpp @@ -122,9 +122,16 @@ Application::Application( ) initting = FALSE; // startup done, we are up and running now. dcopClient()->send( "ksplash", "", "upAndRunning(QString)", QString("wm started")); + XEvent e; + e.xclient.type = ClientMessage; + e.xclient.message_type = XInternAtom( qt_xdisplay(), "_KDE_SPLASH_PROGRESS", False ); + e.xclient.display = qt_xdisplay(); + e.xclient.window = qt_xrootwin(); + e.xclient.format = 8; + strcpy( e.xclient.data.b, "wm started" ); + XSendEvent( qt_xdisplay(), qt_xrootwin(), False, SubstructureNotifyMask, &e ); } - Application::~Application() { delete Workspace::self();