[mutter] window: Add a missing break



commit b85171007eafce04061facd879e7164d0462186e
Author: Florian Müllner <fmuellner gnome org>
Date:   Sat Dec 4 21:20:11 2010 +0100

    window: Add a missing break
    
    When adding maximize tiling, the cleaning of the tiled flag was
    refactored to use a switch statement - a break was missed in the
    process.

 src/core/window.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/core/window.c b/src/core/window.c
index 6139560..be5e65c 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -8424,6 +8424,7 @@ update_tile_mode (MetaWindow *window)
       case META_TILE_RIGHT:
           if (!META_WINDOW_TILED_SIDE_BY_SIDE (window))
               window->tile_mode = META_TILE_NONE;
+          break;
       case META_TILE_MAXIMIZED:
           if (!META_WINDOW_MAXIMIZED (window))
               window->tile_mode = META_TILE_NONE;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]