From f34849f43c3197db67d6f7b4099c08505f25764d Mon Sep 17 00:00:00 2001 From: Monsta Date: Thu, 27 Nov 2014 11:31:59 +0300 Subject: removed unused function argument Closes https://github.com/mate-desktop/marco/pull/152 --- src/core/keybindings.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/core/keybindings.c b/src/core/keybindings.c index 9e809b68..041d96fc 100644 --- a/src/core/keybindings.c +++ b/src/core/keybindings.c @@ -1203,7 +1203,6 @@ process_event (MetaKeyBinding *bindings, MetaScreen *screen, MetaWindow *window, XEvent *event, - KeySym keysym, gboolean on_window) { int i; @@ -1311,9 +1310,9 @@ meta_display_process_key_event (MetaDisplay *display, #ifdef HAVE_XKB keysym = XkbKeycodeToKeysym (display->xdisplay, event->xkey.keycode, 0, 0); - str = XKeysymToString (keysym); #else + keysym = 0; str = NULL; #endif @@ -1414,7 +1413,7 @@ meta_display_process_key_event (MetaDisplay *display, /* Do the normal keybindings */ process_event (display->key_bindings, display->n_key_bindings, - display, screen, window, event, keysym, + display, screen, window, event, !all_keys_grabbed && window); } -- cgit v1.2.1