mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 11:32:04 +00:00
window: Remove obsolete code
Since the tile mode is now always reset on maximize(), this code no longer does anything (not to mention that side-by-side tiled windows haven't snapped back for a while now). https://bugzilla.gnome.org/show_bug.cgi?id=682779
This commit is contained in:
parent
ac3465ffbb
commit
49df033b4e
@ -3938,13 +3938,6 @@ meta_window_unmaximize_internal (MetaWindow *window,
|
||||
window->maximized_vertically =
|
||||
window->maximized_vertically && !unmaximize_vertically;
|
||||
|
||||
/* Reset the tile mode for maximized tiled windows for consistency
|
||||
* with "normal" maximized windows, but keep other tile modes,
|
||||
* as side-by-side tiled windows may snap back.
|
||||
*/
|
||||
if (window->tile_mode == META_TILE_MAXIMIZED)
|
||||
window->tile_mode = META_TILE_NONE;
|
||||
|
||||
/* Unmaximize to the saved_rect position in the direction(s)
|
||||
* being unmaximized.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user