diff options
| author | Victor Kareh <[email protected]> | 2026-02-09 15:20:10 -0500 |
|---|---|---|
| committer | Victor Kareh <[email protected]> | 2026-03-16 16:05:28 -0400 |
| commit | 4974ffb4b16bed4bd8e98fd52484cb2a2cfb095e (patch) | |
| tree | c21400b7ce5d8c19331f75b002d113f5a0e045db /src/core/window.c | |
| parent | 7e6aede0af4db55a2db687bae64f5ffdbf05e92f (diff) | |
| download | marco-4974ffb4b16bed4bd8e98fd52484cb2a2cfb095e.tar.bz2 marco-4974ffb4b16bed4bd8e98fd52484cb2a2cfb095e.tar.xz | |
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.c')
| -rw-r--r-- | src/core/window.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/window.c b/src/core/window.c index 134cf7bb..cdf7ab3b 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -8839,6 +8839,12 @@ meta_window_set_user_time (MetaWindow *window, } } +guint32 +meta_window_get_user_time (MetaWindow *window) +{ + return window->net_wm_user_time; +} + /* Sets the demands_attention hint on a window, but only * if it's at least partially obscured (see #305882). */ |
