diff options
author | Omar Zeidan <[email protected]> | 2017-12-02 20:19:12 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-12-20 20:42:12 +0100 |
commit | b471b912d68a05711a95a3c0e033c0577262f18e (patch) | |
tree | c5af5d07d112d219e7cd7db6ddabcfe12308b4d0 /src/core/screen.c | |
parent | d094cf0297f28b826ca742379750567750dfee9f (diff) | |
download | marco-b471b912d68a05711a95a3c0e033c0577262f18e.tar.bz2 marco-b471b912d68a05711a95a3c0e033c0577262f18e.tar.xz |
Implemented simple corner tiling by mouse drag
Diffstat (limited to 'src/core/screen.c')
-rw-r--r-- | src/core/screen.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/core/screen.c b/src/core/screen.c index 28d2febf..f0ce5dff 100644 --- a/src/core/screen.c +++ b/src/core/screen.c @@ -1495,21 +1495,21 @@ meta_screen_tile_preview_update_timeout (gpointer data) if (window) { switch (window->tile_mode) - { - case META_TILE_LEFT: - case META_TILE_RIGHT: - if (!META_WINDOW_TILED (window)) - needs_preview = TRUE; - break; + { + case META_TILE_MAXIMIZED: + if (!META_WINDOW_MAXIMIZED (window)) + needs_preview = TRUE; + break; + + case META_TILE_NONE: + needs_preview = FALSE; + break; - case META_TILE_MAXIMIZED: - if (!META_WINDOW_MAXIMIZED (window)) - needs_preview = TRUE; - break; + default: + if (!META_WINDOW_SIDE_TILED (window)) + needs_preview = TRUE; + break; - default: - needs_preview = FALSE; - break; } } |