Skip to content

display: Use global MRU list for switch-windows-all#826

Open
vkareh wants to merge 1 commit intomasterfrom
global-mru-window-list
Open

display: Use global MRU list for switch-windows-all#826
vkareh wants to merge 1 commit intomasterfrom
global-mru-window-list

Conversation

@vkareh
Copy link
Member

@vkareh vkareh commented Feb 9, 2026

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

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
@vkareh vkareh requested a review from a team February 9, 2026 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

switch-windows-all duplicates omnipresent windows in window switcher dialog

1 participant