mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-30 10:22:34 +01:00
Added explicit fall-through comments to pacify GCC.
This commit is contained in:
committed by
Carlos R. Mafra
parent
b59273f199
commit
a7f8e990db
@@ -527,6 +527,7 @@ void PlaceWindow(WWindow *wwin, int *x_ret, int *y_ret, unsigned width, unsigned
|
||||
case WPM_CENTER:
|
||||
if (center_place_window(wwin, x_ret, y_ret, width, height, usableArea))
|
||||
break;
|
||||
/* Fall through. */
|
||||
|
||||
case WPM_AUTO:
|
||||
if (autoPlaceWindow(wwin, x_ret, y_ret, width, height, False, usableArea)) {
|
||||
@@ -538,6 +539,8 @@ void PlaceWindow(WWindow *wwin, int *x_ret, int *y_ret, unsigned width, unsigned
|
||||
through to cascade placement, as people who want tiling want
|
||||
automagicness aren't going to want to place their window */
|
||||
|
||||
/* Fall through. */
|
||||
|
||||
case WPM_CASCADE:
|
||||
if (wPreferences.window_placement == WPM_AUTO || wPreferences.window_placement == WPM_CENTER)
|
||||
scr->cascade_index++;
|
||||
|
||||
Reference in New Issue
Block a user