parent
7a38b21f49
commit
f3cfbacb1e
|
@ -50,12 +50,9 @@ bool Client::manage(xcb_window_t w, bool isMapped)
|
||||||
{
|
{
|
||||||
StackingUpdatesBlocker stacking_blocker(workspace());
|
StackingUpdatesBlocker stacking_blocker(workspace());
|
||||||
|
|
||||||
grabXServer();
|
|
||||||
|
|
||||||
Xcb::WindowAttributes attr(w);
|
Xcb::WindowAttributes attr(w);
|
||||||
Xcb::WindowGeometry windowGeometry(w);
|
Xcb::WindowGeometry windowGeometry(w);
|
||||||
if (attr.isNull() || windowGeometry.isNull()) {
|
if (attr.isNull() || windowGeometry.isNull()) {
|
||||||
ungrabXServer();
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -641,8 +638,6 @@ bool Client::manage(xcb_window_t w, bool isMapped)
|
||||||
|
|
||||||
delete session;
|
delete session;
|
||||||
|
|
||||||
ungrabXServer();
|
|
||||||
|
|
||||||
client_rules.discardTemporary();
|
client_rules.discardTemporary();
|
||||||
applyWindowRules(); // Just in case
|
applyWindowRules(); // Just in case
|
||||||
RuleBook::self()->discardUsed(this, false); // Remove ApplyNow rules
|
RuleBook::self()->discardUsed(this, false); // Remove ApplyNow rules
|
||||||
|
|
Loading…
Reference in New Issue