5f4ee1b6e7
The meta_window_handle_mouse_grab_op_event function ensures the tile_mode variable is in a consistent state after a drag op is finished. The way this is current done is: if (!window->maximized_vertically && window->tile_mode != META_TILE_NONE) window->tile_mode = META_TILE_NONE; While valid, it doesn't "read" as well as using the META_WINDOW_TILED_SIDE_BY_SIDE macro, since the macro is specifically about side-by-side tiling. This commit just changes things to use the macro and to not bother checking the tile mode (since if we just reset it anyway, then it doesn't matter if the value is right or wrong to begin with). https://bugzilla.gnome.org/show_bug.cgi?id=630548 |
||
---|---|---|
.. | ||
compositor | ||
core | ||
include | ||
tools | ||
ui | ||
wm-tester | ||
.cvsignore | ||
default_icon.png | ||
libmutter-private.pc.in | ||
Makefile.am | ||
mutter-enum-types.c.in | ||
mutter-enum-types.h.in | ||
mutter-marshal.list | ||
mutter-plugins.pc.in | ||
mutter-wm.desktop.in | ||
mutter.desktop.in | ||
mutter.schemas.in | ||
run-mutter.sh | ||
stock_delete.png | ||
stock_maximize.png | ||
stock_minimize.png |