From d55f4b41c6ebf00e36a5e91ddc962a753f6c9ef8 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 14 Dec 2009 15:40:09 -0500 Subject: Allow the user to bind more than one keycode to a keysym for Ob Menus/Move/Resize If the user has escape bound to more than one keycode then they can use any of them to close a menu. This change applies to the hardcoded keys in openbox, which are used for the menus and for move/resize, and maybe other places. --- openbox/openbox.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbox/openbox.h') diff --git a/openbox/openbox.h b/openbox/openbox.h index 06d38297..76b04ea2 100644 --- a/openbox/openbox.h +++ b/openbox/openbox.h @@ -65,6 +65,6 @@ void ob_exit_with_error(const gchar *msg); Cursor ob_cursor(ObCursor cursor); -KeyCode ob_keycode(ObKey key); +gboolean ob_keycode_match(KeyCode code, ObKey key); #endif -- cgit v1.2.3