From 34ec58af0a051443ec0f4bf9a0927858dd1638b0 Mon Sep 17 00:00:00 2001 From: Rob Adams Date: Fri, 27 Jun 2003 14:49:56 +0000 Subject: Add keybinding to allow the user to toggle _NET_WM_STATE_ABOVE on windows. 2003-06-26 Rob Adams 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 --- src/prefs.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/prefs.c') 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 }, -- cgit v1.2.1