mutter/src
Ray Strode 5f4ee1b6e7 tiling: use META_WINDOW_TILED_SIDE_BY_SIDE in state check
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
2010-12-02 16:35:23 -05:00
..
compositor Fix builds with clutter < 1.5.2 2010-11-22 22:00:02 -06:00
core tiling: use META_WINDOW_TILED_SIDE_BY_SIDE in state check 2010-12-02 16:35:23 -05:00
include tiling: rename side-by-side tiling to edge tiling 2010-12-02 16:35:23 -05:00
tools Remove compatibility for GTK+-2.0 2010-10-28 12:16:14 +02:00
ui Export meta_frame_type_to_string() 2010-11-18 09:47:57 -05:00
wm-tester Fix missing comma in previous commit 2010-04-11 19:59:29 +02:00
.cvsignore Install desktop files in both .../share/applications and 2008-09-12 04:05:17 +00:00
default_icon.png New 48x48 default icon as specified in bug #160660 2005-01-25 18:47:57 +00:00
libmutter-private.pc.in Remove compatibility for GTK+-2.0 2010-10-28 12:16:14 +02:00
Makefile.am Draw the root window background 2010-11-18 13:58:37 -05:00
mutter-enum-types.c.in Add bits missing from last commit 2009-07-04 17:14:48 +01:00
mutter-enum-types.h.in Add bits missing from last commit 2009-07-04 17:14:48 +01:00
mutter-marshal.list Add bits missing from last commit 2009-07-04 17:14:48 +01:00
mutter-plugins.pc.in Comprehensively rename to Mutter 2009-06-16 14:17:10 -04:00
mutter-wm.desktop.in Remove deprecated Encoding key from desktop files 2009-08-22 14:24:22 +02:00
mutter.desktop.in Remove deprecated Encoding key from desktop files 2009-08-22 14:24:22 +02:00
mutter.schemas.in Optionally attach modal dialogs 2010-09-11 05:36:12 +04:00
run-mutter.sh Comprehensively rename to Mutter 2009-06-16 14:17:10 -04:00
stock_delete.png Update the pixmap to a new one which fit better with the other pixmaps of 2006-08-20 19:44:52 +00:00
stock_maximize.png Register window menu icons with the Gtk stock system, instead of using the 2002-08-10 16:47:43 +00:00
stock_minimize.png Register window menu icons with the Gtk stock system, instead of using the 2002-08-10 16:47:43 +00:00