Multihead fix.
Tell ksplash we're up and running. svn path=/trunk/kdebase/kwin/; revision=83393
This commit is contained in:
parent
6f55f7337a
commit
414316d5dc
1 changed files with 4 additions and 4 deletions
8
main.cpp
8
main.cpp
|
@ -125,6 +125,7 @@ Application::Application( )
|
|||
syncX(); // trigger possible errors, there's still a chance to abort
|
||||
|
||||
initting = FALSE; // startup done, we are up and running now.
|
||||
dcopClient()->send( "ksplash", "", "upAndRunning(QString)", QString("wm started"));
|
||||
}
|
||||
|
||||
|
||||
|
@ -214,10 +215,9 @@ int kdemain( int argc, char * argv[] )
|
|||
// we only do the multihead fork if we are not restored by the session
|
||||
// manager, since the session manager will register multiple kwins,
|
||||
// one for each screen...
|
||||
KInstance inst("kwin-multihead");
|
||||
KConfig config("kdeglobals", true);
|
||||
config.setGroup("X11");
|
||||
if (config.readBoolEntry("enableMultihead")) {
|
||||
QCString multiHead = getenv("KDE_MULTIHEAD");
|
||||
if (multiHead.lower() == "true")
|
||||
{
|
||||
Display* dpy = XOpenDisplay( NULL );
|
||||
if ( !dpy ) {
|
||||
fprintf(stderr, "%s: FATAL ERROR while trying to open display %s\n",
|
||||
|
|
Loading…
Reference in a new issue