openbsd-ports/x11/golem/patches/patch-src_keys_h
2002-03-24 22:23:06 +00:00

26 lines
848 B
Plaintext

$OpenBSD: patch-src_keys_h,v 1.1 2002/03/24 22:23:06 couderc Exp $
--- src/keys.h.orig Sun Nov 25 07:53:55 2001
+++ src/keys.h Sun Mar 24 16:14:21 2002
@@ -72,7 +72,7 @@ enum {
/* structure for a keybinding */
struct keybind {
int keycode; /* keycode we are binding */
- int modifiers; /* modifiers for the bind */
+ u_int modifiers; /* modifiers for the bind */
int action; /* what the key does */
union {
@@ -87,8 +87,11 @@ struct keybind {
SLIST_ENTRY(keybind) k_list;
};
+u_int numlock_mask, scroll_mask;
+void buttongrabhack(Window win, int button, u_int modifiers);
+
void keys_shutdown();
-keybind_t *keys_add(int keycode, int modifiers, int action, void *dat);
+keybind_t *keys_add(int keycode, u_int modifiers, int action, void *dat);
void keys_grab(screen_t *screen);
void keys_press(screen_t *screen, XKeyEvent *e);