don't grab server during initialization, may result in freezes due to libkmapnotify
svn path=/trunk/kdebase/kwin/; revision=61614
This commit is contained in:
parent
fe4bfc015c
commit
d0d3166d4a
1 changed files with 2 additions and 2 deletions
|
@ -310,7 +310,7 @@ void Workspace::init()
|
||||||
connect(kapp, SIGNAL(appearanceChanged()), this,
|
connect(kapp, SIGNAL(appearanceChanged()), this,
|
||||||
SLOT(slotResetAllClients()));
|
SLOT(slotResetAllClients()));
|
||||||
|
|
||||||
XGrabServer( qt_xdisplay() );
|
// XGrabServer( qt_xdisplay() );
|
||||||
XQueryTree(qt_xdisplay(), root, &dw1, &dw2, &wins, &nwins);
|
XQueryTree(qt_xdisplay(), root, &dw1, &dw2, &wins, &nwins);
|
||||||
for (i = 0; i < nwins; i++) {
|
for (i = 0; i < nwins; i++) {
|
||||||
XGetWindowAttributes(qt_xdisplay(), wins[i], &attr);
|
XGetWindowAttributes(qt_xdisplay(), wins[i], &attr);
|
||||||
|
@ -337,7 +337,7 @@ void Workspace::init()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
XFree((void *) wins);
|
XFree((void *) wins);
|
||||||
XUngrabServer( qt_xdisplay() );
|
// XUngrabServer( qt_xdisplay() );
|
||||||
propagateClients();
|
propagateClients();
|
||||||
|
|
||||||
//CT initialize the cascading info
|
//CT initialize the cascading info
|
||||||
|
|
Loading…
Reference in a new issue