summaryrefslogtreecommitdiff
path: root/src/core/window-private.h
diff options
context:
space:
mode:
authorVictor Kareh <[email protected]>2026-02-09 15:20:10 -0500
committerVictor Kareh <[email protected]>2026-03-16 16:05:28 -0400
commit4974ffb4b16bed4bd8e98fd52484cb2a2cfb095e (patch)
treec21400b7ce5d8c19331f75b002d113f5a0e045db /src/core/window-private.h
parent7e6aede0af4db55a2db687bae64f5ffdbf05e92f (diff)
downloadmarco-4974ffb4b16bed4bd8e98fd52484cb2a2cfb095e.tar.bz2
marco-4974ffb4b16bed4bd8e98fd52484cb2a2cfb095e.tar.xz
display: Use global MRU list for switch-windows-allHEADmaster
When using switch-windows-all to cycle through windows across all workspaces, marco was grouping windows by workspace rather than using a global MRU (most-recently-used) list. This caused several issues: - Sticky windows appeared multiple times, once per workspace - Window order was confusing (since they were grouped by workspace number) - Behavior was different from other window managers Fixed by collecting all windows, sorting them by recency, then building the tab list from this global list. Fixes #286
Diffstat (limited to 'src/core/window-private.h')
-rw-r--r--src/core/window-private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/window-private.h b/src/core/window-private.h
index 06d4fd65..8ce9a121 100644
--- a/src/core/window-private.h
+++ b/src/core/window-private.h
@@ -695,6 +695,8 @@ void meta_window_stack_just_below (MetaWindow *window,
void meta_window_set_user_time (MetaWindow *window,
guint32 timestamp);
+guint32 meta_window_get_user_time (MetaWindow *window);
+
void meta_window_set_demands_attention (MetaWindow *window);
void meta_window_unset_demands_attention (MetaWindow *window);