move the single keycode function directly into the menu code.

ok oga@
This commit is contained in:
okan
2011-03-22 10:47:59 +00:00
parent e03323d22e
commit 00b502b1da
4 changed files with 96 additions and 129 deletions

View File

@ -325,12 +325,6 @@ struct menu {
TAILQ_HEAD(menu_q, menu);
enum ctltype {
CTL_NONE = -1,
CTL_ERASEONE = 0, CTL_WIPE, CTL_UP, CTL_DOWN, CTL_RETURN,
CTL_ABORT, CTL_ALL
};
/* MWM hints */
struct mwm_hints {
@ -346,9 +340,6 @@ struct mwm_hints {
#define MWM_DECOR_ALL (1 << 0)
#define MWM_DECOR_BORDER (1 << 1)
int input_keycodetrans(KeyCode, u_int, enum ctltype *,
char *);
__dead void usage(void);
struct client_ctx *client_find(Window);