respect screen rule in configure requests
REVIEW: 106960
This commit is contained in:
parent
4a94561f68
commit
dbf2623e87
1 changed files with 3 additions and 0 deletions
|
@ -1635,6 +1635,9 @@ void Client::configureRequest(int value_mask, int rx, int ry, int rw, int rh, in
|
|||
nh = rh;
|
||||
QSize ns = sizeForClientSize(QSize(nw, nh)); // enforces size if needed
|
||||
new_pos = rules()->checkPosition(new_pos);
|
||||
int newScreen = workspace()->screenNumber(QRect(new_pos, ns).center());
|
||||
if (newScreen != rules()->checkScreen(newScreen))
|
||||
return; // not allowed by rule
|
||||
|
||||
QRect orig_geometry = geometry();
|
||||
GeometryUpdatesBlocker blocker(this);
|
||||
|
|
Loading…
Reference in a new issue