diff options
author | Monsta <[email protected]> | 2014-11-27 11:31:59 +0300 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2014-11-27 14:25:32 +0100 |
commit | f34849f43c3197db67d6f7b4099c08505f25764d (patch) | |
tree | 3ba333b9e12eb2db884835bebf77016173de38dd /src | |
parent | e2961502ad666b76e835612a5c9e8ad49f87e7d1 (diff) | |
download | marco-f34849f43c3197db67d6f7b4099c08505f25764d.tar.bz2 marco-f34849f43c3197db67d6f7b4099c08505f25764d.tar.xz |
removed unused function argument
Closes https://github.com/mate-desktop/marco/pull/152
Diffstat (limited to 'src')
-rw-r--r-- | src/core/keybindings.c | 5 |
1 files changed, 2 insertions, 3 deletions
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); } |