diff --git a/src/core/keybindings.c b/src/core/keybindings.c index 14d134fb4..f3630d471 100644 --- a/src/core/keybindings.c +++ b/src/core/keybindings.c @@ -3205,7 +3205,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_frame_rect (window, &win_rect); meta_window_get_frame_rect (above, &above_rect);