Adding two new highly optimized splashscreens, "none" (AKA "KDE1.x classic")

and "simple" (handcoded using only Xlib).

svn path=/trunk/kdebase/ksmserver/; revision=347854
This commit is contained in:
Luboš Luňák 2004-09-20 12:35:27 +00:00
parent 7aba5a0721
commit 8f42d63981

View file

@ -122,9 +122,16 @@ Application::Application( )
initting = FALSE; // startup done, we are up and running now. initting = FALSE; // startup done, we are up and running now.
dcopClient()->send( "ksplash", "", "upAndRunning(QString)", QString("wm started")); 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() Application::~Application()
{ {
delete Workspace::self(); delete Workspace::self();