1
0
Fork 0

window: Reset tile-mode on maximization

We used to restore side-by-side tiling when unmaximizing, so we
kept the tile-mode during maximization. Since commit 10d53fc7d
there's no longer a good reason to do so, and it can result in
tile previews being shown erroneously on window drag operations
without motion (double-click on titlebar), so reset the tile
mode in maximize().

https://bugzilla.gnome.org/show_bug.cgi?id=682779
This commit is contained in:
Florian Müllner 2013-03-08 21:37:53 +01:00
parent 884ab602cb
commit ac3465ffbb

View file

@ -3604,6 +3604,7 @@ meta_window_maximize (MetaWindow *window,
saved_rect = &window->saved_rect; saved_rect = &window->saved_rect;
window->maximized_vertically = FALSE; window->maximized_vertically = FALSE;
window->tile_mode = META_TILE_NONE;
} }
meta_window_maximize_internal (window, meta_window_maximize_internal (window,