[mutter/wayland] keybindings: Remove unused parameter from process_event
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wayland] keybindings: Remove unused parameter from process_event
- Date: Wed, 16 Oct 2013 03:38:31 +0000 (UTC)
commit a23830fd13e2320c63b690c7988a51ccdab3dc5a
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Oct 3 17:44:55 2013 -0400
keybindings: Remove unused parameter from process_event
src/core/keybindings.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/core/keybindings.c b/src/core/keybindings.c
index c1d5075..825021a 100644
--- a/src/core/keybindings.c
+++ b/src/core/keybindings.c
@@ -1840,7 +1840,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,
@@ -1848,7 +1847,6 @@ process_event (MetaKeyBinding *bindings,
MetaScreen *screen,
MetaWindow *window,
XIDeviceEvent *event,
- KeySym keysym,
gboolean on_window)
{
int i;
@@ -1932,7 +1930,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
@@ -2196,7 +2194,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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]