diff options
author | Havoc Pennington <hp@pobox.com> | 2002-06-09 04:04:19 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2002-06-09 04:04:19 +0000 |
commit | b168954ed30d7232f442efe5d6c364fc832c7cb9 (patch) | |
tree | 49e786da9b4e09ba624131cb39c1b54db7ba5c5e /src/prefs.h | |
parent | fb5a3a89989276bba163e33fb37a10c761ee9444 (diff) | |
download | metacity-b168954ed30d7232f442efe5d6c364fc832c7cb9.tar.gz |
Cleanups to workspace popup patch. Space before all parens in a couple
2002-06-08 Havoc Pennington <hp@pobox.com>
Cleanups to workspace popup patch. Space before all parens
in a couple places.
* src/prefs.c (meta_prefs_get_keybinding_action): fix brace
indentation, and use while instead of for loop. Take a "mask"
argument to avoid ambiguity issues.
* src/keybindings.c (handle_workspace_switch): rename from
handle_workspace_forward since there's no directionality here
(handle_workspace_switch): add a FIXME about how screwed it is
that we need a window in order to do our grab. Should be able to
grab on a dummy window like no_focus_window or the root window.
(process_workspace_switch_grab): rename from tab_grab for clarity,
no tab involved here.
* src/common.h (enum): have only one grab op for all workspace
switching directions, instead of one for each.
Diffstat (limited to 'src/prefs.h')
-rw-r--r-- | src/prefs.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/prefs.h b/src/prefs.h index e273acb7..c1ca5850 100644 --- a/src/prefs.h +++ b/src/prefs.h @@ -149,7 +149,9 @@ void meta_prefs_get_screen_bindings (const MetaKeyPref **bindings, int *n_bindings); void meta_prefs_get_window_bindings (const MetaKeyPref **bindings, int *n_bindings); -MetaKeyBindingAction meta_prefs_get_keybinding_action (unsigned int keysym); + +MetaKeyBindingAction meta_prefs_get_keybinding_action (unsigned int keysym, + unsigned long mask); #endif |