summaryrefslogtreecommitdiff
path: root/src/stack.c
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2002-06-09 03:44:16 +0000
committerHavoc Pennington <hp@src.gnome.org>2002-06-09 03:44:16 +0000
commitfb5a3a89989276bba163e33fb37a10c761ee9444 (patch)
treecd40e5b6f93cbdf04acb9fe401ba55c2c494a5aa /src/stack.c
parent459d8f9c9de631d3c9ad0012109969ca61473bb6 (diff)
downloadmetacity-fb5a3a89989276bba163e33fb37a10c761ee9444.tar.gz
metacity-fb5a3a89989276bba163e33fb37a10c761ee9444.tar.bz2
Apply big patch from blackc@speakeasy.net adding a popup window to the
2002-06-08 Havoc Pennington <hp@pobox.com> Apply big patch from blackc@speakeasy.net adding a popup window to the Ctrl+Alt+arrows shortcuts. #83940 2002-06-08 Havoc Pennington <hp@pobox.com> * src/screen.c (meta_screen_new): select key press/release on the display->no_focus_window, another attempted fix for not getting keybindings when no window is focused. Still doesn't seem to work though. I don't get what's going wrong. (meta_create_offscreen_window): new function, used instead of XCreateSimpleWindow so we get override redirect offscreen windows.
Diffstat (limited to 'src/stack.c')
-rw-r--r--src/stack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stack.c b/src/stack.c
index b0926e4..ee7e749 100644
--- a/src/stack.c
+++ b/src/stack.c
@@ -1017,7 +1017,7 @@ meta_stack_get_default_focus_window (MetaStack *stack,
if (topmost_dock == NULL &&
window->type == META_WINDOW_DOCK)
topmost_dock = window;
- else
+ else if (window->type != META_WINDOW_DOCK)
return window;
}