summaryrefslogtreecommitdiff
path: root/src/prefs.c
diff options
context:
space:
mode:
authorRob Adams <robadams@ucla.edu>2003-06-27 14:49:56 +0000
committerRob Adams <readams@src.gnome.org>2003-06-27 14:49:56 +0000
commit34ec58af0a051443ec0f4bf9a0927858dd1638b0 (patch)
treeb3ddf5b4bb0fb66f168629fd08d910ede25fc03d /src/prefs.c
parentb6389fbf60ae2347830b6fa5ce0ff9fa910e733d (diff)
downloadmetacity-34ec58af0a051443ec0f4bf9a0927858dd1638b0.tar.gz
Add keybinding to allow the user to toggle _NET_WM_STATE_ABOVE on windows.
2003-06-26 Rob Adams <robadams@ucla.edu> Add keybinding to allow the user to toggle _NET_WM_STATE_ABOVE on windows. Disabled by default. See #98387. * src/keybindings.c (handle_toggle_above): new function implements the keybinding * src/metacity.schemas.in: add toggle_above keybinding * src/prefs.[ch]: add toggle_above keybinding * src/window.[ch] (meta_window_make_above): new function to put a window into the above state (meta_window_unmake_above): new function takes a window out of the above state
Diffstat (limited to 'src/prefs.c')
-rw-r--r--src/prefs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/prefs.c b/src/prefs.c
index e2efa47a..9ed41bcd 100644
--- a/src/prefs.c
+++ b/src/prefs.c
@@ -1411,6 +1411,7 @@ static MetaKeyPref window_bindings[] = {
{ META_KEYBINDING_WINDOW_MENU, 0, 0, FALSE },
{ META_KEYBINDING_TOGGLE_FULLSCREEN, 0, 0, FALSE },
{ META_KEYBINDING_TOGGLE_MAXIMIZE, 0, 0, FALSE },
+ { META_KEYBINDING_TOGGLE_ABOVE, 0, 0, FALSE },
{ META_KEYBINDING_MAXIMIZE, 0, 0, FALSE },
{ META_KEYBINDING_UNMAXIMIZE, 0, 0, FALSE },
{ META_KEYBINDING_TOGGLE_SHADE, 0, 0, FALSE },