mirror of
https://github.com/openbsd/xenocara.git
synced 2025-12-13 20:59:03 +00:00
move the default case to the end.
ok oga@
This commit is contained in:
@@ -150,8 +150,6 @@ menu_filter(struct screen_ctx *sc, struct menu_q *menuq, char *prompt,
|
|||||||
XWindowEvent(X_Dpy, sc->menuwin, evmask, &e);
|
XWindowEvent(X_Dpy, sc->menuwin, evmask, &e);
|
||||||
|
|
||||||
switch (e.type) {
|
switch (e.type) {
|
||||||
default:
|
|
||||||
break;
|
|
||||||
case KeyPress:
|
case KeyPress:
|
||||||
if ((mi = menu_handle_key(&e, &mc, menuq, &resultq))
|
if ((mi = menu_handle_key(&e, &mc, menuq, &resultq))
|
||||||
!= NULL)
|
!= NULL)
|
||||||
@@ -168,6 +166,8 @@ menu_filter(struct screen_ctx *sc, struct menu_q *menuq, char *prompt,
|
|||||||
!= NULL)
|
!= NULL)
|
||||||
goto out;
|
goto out;
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
out:
|
out:
|
||||||
|
|||||||
Reference in New Issue
Block a user