do not grab server during manage
REVIEW: 125474
This commit is contained in:
parent
7a38b21f49
commit
f3cfbacb1e
1 changed files with 0 additions and 5 deletions
|
@ -50,12 +50,9 @@ bool Client::manage(xcb_window_t w, bool isMapped)
|
|||
{
|
||||
StackingUpdatesBlocker stacking_blocker(workspace());
|
||||
|
||||
grabXServer();
|
||||
|
||||
Xcb::WindowAttributes attr(w);
|
||||
Xcb::WindowGeometry windowGeometry(w);
|
||||
if (attr.isNull() || windowGeometry.isNull()) {
|
||||
ungrabXServer();
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -641,8 +638,6 @@ bool Client::manage(xcb_window_t w, bool isMapped)
|
|||
|
||||
delete session;
|
||||
|
||||
ungrabXServer();
|
||||
|
||||
client_rules.discardTemporary();
|
||||
applyWindowRules(); // Just in case
|
||||
RuleBook::self()->discardUsed(this, false); // Remove ApplyNow rules
|
||||
|
|
Loading…
Reference in a new issue