From 0a616c9fcb445b5c047d06508c7b0666636db3d1 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Thu, 3 Oct 2013 17:44:55 -0400 Subject: [PATCH] keybindings: Remove unused parameter from process_event --- src/core/keybindings.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/core/keybindings.c b/src/core/keybindings.c index f549630fc..a8784f913 100644 --- a/src/core/keybindings.c +++ b/src/core/keybindings.c @@ -1835,7 +1835,6 @@ invoke_handler_by_name (MetaDisplay *display, invoke_handler (display, screen, handler, window, event, NULL); } -/* now called from only one place, may be worth merging */ static gboolean process_event (MetaKeyBinding *bindings, int n_bindings, @@ -1843,7 +1842,6 @@ process_event (MetaKeyBinding *bindings, MetaScreen *screen, MetaWindow *window, XIDeviceEvent *event, - KeySym keysym, gboolean on_window) { int i; @@ -1927,7 +1925,7 @@ process_overlay_key (MetaDisplay *display, */ if (process_event (display->key_bindings, display->n_key_bindings, - display, screen, NULL, event, keysym, + display, screen, NULL, event, FALSE)) { /* As normally, after we've handled a global key @@ -2191,7 +2189,7 @@ meta_display_process_key_event (MetaDisplay *display, /* Do the normal keybindings */ return process_event (display->key_bindings, display->n_key_bindings, - display, screen, window, event, keysym, + display, screen, window, event, !all_keys_grabbed && window); }