don't require geometry changes for quick max/tile
the present check can break quick everything depending on screen snapping settings. It so far. only worked for quick maximization due to horizontal "judder" and failed whenever that judder was not possible (due to screen snapping on left and/or right edge) BUG: 322852 FIXED-IN: 4.11 REVIEW: 111740
This commit is contained in:
parent
ac32664dc1
commit
6c420f2b11
1 changed files with 3 additions and 3 deletions
|
@ -1256,15 +1256,15 @@ bool Client::motionNotifyEvent(xcb_window_t w, int state, int x, int y, int x_ro
|
|||
if (!waitingMotionEvent()) {
|
||||
QRect oldGeo = geometry();
|
||||
handleMoveResize(x, y, x_root, y_root);
|
||||
if (!isFullScreen() && isMove() && oldGeo != geometry()) {
|
||||
if (quick_tile_mode != QuickTileNone) {
|
||||
if (!isFullScreen() && isMove()) {
|
||||
if (quick_tile_mode != QuickTileNone && oldGeo != geometry()) {
|
||||
GeometryUpdatesBlocker blocker(this);
|
||||
setQuickTileMode(QuickTileNone);
|
||||
moveOffset = QPoint(double(moveOffset.x()) / double(oldGeo.width()) * double(geom_restore.width()),
|
||||
double(moveOffset.y()) / double(oldGeo.height()) * double(geom_restore.height()));
|
||||
moveResizeGeom = geom_restore;
|
||||
handleMoveResize(x, y, x_root, y_root); // fix position
|
||||
} else if (isResizable()) {
|
||||
} else if (quick_tile_mode == QuickTileNone && isResizable()) {
|
||||
checkQuickTilingMaximizationZones(x_root, y_root);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue