properly reset quick_tile_mode on MaxRestore

BUG: 329864
FIXED-IN: 4.11.6
This commit is contained in:
Thomas Lübking 2014-01-14 01:31:49 +01:00
parent 2ee0f27d43
commit 9de60604c0

View file

@ -2347,6 +2347,7 @@ void Client::changeMaximize(bool vertical, bool horizontal, bool adjust)
if (!clientArea.contains(geom_restore.center())) // Not restoring to the same screen
Placement::self()->place(this, clientArea);
info->setState(0, NET::Max);
quick_tile_mode = QuickTileNone;
break;
}