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
@@ -1591,6 +1591,7 @@ void wMenuScroll(WMenu *menu)
|
||||
switch (ev.type) {
|
||||
case EnterNotify:
|
||||
WMHandleEvent(&ev);
|
||||
/* Fall through. */
|
||||
case MotionNotify:
|
||||
x = (ev.type == MotionNotify) ? ev.xmotion.x_root : ev.xcrossing.x_root;
|
||||
y = (ev.type == MotionNotify) ? ev.xmotion.y_root : ev.xcrossing.y_root;
|
||||
@@ -1644,6 +1645,7 @@ void wMenuScroll(WMenu *menu)
|
||||
break;
|
||||
case KeyPress:
|
||||
done = 1;
|
||||
/* Fall through. */
|
||||
default:
|
||||
WMHandleEvent(&ev);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user