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:
parent
7aba5a0721
commit
8f42d63981
1 changed files with 8 additions and 1 deletions
9
main.cpp
9
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();
|
||||
|
|
Loading…
Reference in a new issue