Skip to content

Commit 070ef01

Browse files
committed
display.c: Exclude 'always on top' windows from the monitor
fullscreen check. Commit a88891a loosened the rules on what could 'break' fullscreen mode for a monitor, in order to improve usability in situations where the user 'alt-tabs' to another application but no panel appears - there's no way out except back to the fullscreen window. Unfortunately this broke a use-case of having a small window pinned above a fullscreen application. So skip these windows in our calculations. Fixes linuxmint/cinnamon#13463.
1 parent fc56622 commit 070ef01

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/core/display.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3542,7 +3542,7 @@ check_fullscreen_func (gpointer data)
35423542
if (meta_window_is_monitor_sized (window))
35433543
covers_monitors = TRUE;
35443544
}
3545-
else if (window->type == META_WINDOW_NORMAL)
3545+
else if (window->type == META_WINDOW_NORMAL && !window->wm_state_above)
35463546
{
35473547
MetaRectangle window_rect;
35483548
meta_window_get_frame_rect (window, &window_rect);

0 commit comments

Comments
 (0)