diff options
author | Jose Marino <braket@hotmail.com> | 2017-02-06 09:17:02 -0700 |
---|---|---|
committer | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2017-02-24 20:09:08 +0200 |
commit | 89d84a2bb85f60f49944a7c4973c3dbef9d653ce (patch) | |
tree | 3ab7517ea292b2fa97eb93c4d36bc3ab8cbcce76 | |
parent | 42bd7677a9b55d08f8a52e9b0fba248819a1f962 (diff) | |
download | metacity-89d84a2bb85f60f49944a7c4973c3dbef9d653ce.tar.gz |
keybindings: fix erratic raise_or_lower behavior
Function "handle_raise_or_lower (src/core/keybindings.c)" is called
when running 'raise-or-lower' on a window. This function iterates
through all the windows in the stack to determine if our window is
already on top or obscured. The problem is that the window stack
includes windows in another workspaces and also windows that are
minimized.
https://bugzilla.gnome.org/show_bug.cgi?id=705200
-rw-r--r-- | src/core/keybindings.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/keybindings.c b/src/core/keybindings.c index acfbf6fb..26788eb1 100644 --- a/src/core/keybindings.c +++ b/src/core/keybindings.c @@ -3261,7 +3261,7 @@ handle_raise_or_lower (MetaDisplay *display, { MetaRectangle tmp, win_rect, above_rect; - if (above->mapped) + if (above->mapped && meta_window_should_be_showing (above)) { meta_window_get_outer_rect (window, &win_rect); meta_window_get_outer_rect (above, &above_rect); |