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.
This commit is contained in:
Florian Müllner 2010-12-04 21:20:11 +01:00
parent f6ec33fa0c
commit b85171007e

View File

@ -8424,6 +8424,7 @@ update_tile_mode (MetaWindow *window)
case META_TILE_RIGHT: case META_TILE_RIGHT:
if (!META_WINDOW_TILED_SIDE_BY_SIDE (window)) if (!META_WINDOW_TILED_SIDE_BY_SIDE (window))
window->tile_mode = META_TILE_NONE; window->tile_mode = META_TILE_NONE;
break;
case META_TILE_MAXIMIZED: case META_TILE_MAXIMIZED:
if (!META_WINDOW_MAXIMIZED (window)) if (!META_WINDOW_MAXIMIZED (window))
window->tile_mode = META_TILE_NONE; window->tile_mode = META_TILE_NONE;