Skip to content

display: Add settings for Alt+Tab window placement#833

Merged
vkareh merged 1 commit into
masterfrom
consolidate-alt-tab-placement
May 27, 2026
Merged

display: Add settings for Alt+Tab window placement#833
vkareh merged 1 commit into
masterfrom
consolidate-alt-tab-placement

Conversation

@vkareh
Copy link
Copy Markdown
Member

@vkareh vkareh commented May 5, 2026

Add user settings to control how minimized and urgent windows are ordered during Alt+Tab.

  1. alt-tab-minimized-placement:
  • 'mru': Mix minimized windows in MRU order
  • 'end': Show minimized windows last (current behavior, default)
  • 'hidden': Exclude minimized windows from Alt+Tab
  1. alt-tab-urgent-placement:
  • 'start': Show all urgent windows first (current behavior, default)
  • 'mru': Mix urgent windows in MRU order

Fixes #824
Closes #819

Add user settings to control how minimized and urgent windows are
ordered during Alt+Tab.

1. alt-tab-minimized-placement:
  - 'mru': Mix minimized windows in MRU order
  - 'end': Show minimized windows last (current behavior, default)
  - 'hidden': Exclude minimized windows from Alt+Tab

2. alt-tab-urgent-placement:
  - 'start': Show all urgent windows first (current behavior, default)
  - 'mru': Mix urgent windows in MRU order

Fixes #824
Closes #819
Copy link
Copy Markdown
Member

@mbkma mbkma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The refactor looks clean overall, but I think this changes one piece of existing behavior along the way: urgent windows now seem to get pulled to the front even when they are on the current workspace, whereas the old code only gave that treatment to urgent windows from other workspaces. If that change was intentional then the new structure is fine, but if not it may be worth restoring the workspace check in the urgent-window path.

@vkareh
Copy link
Copy Markdown
Member Author

vkareh commented May 27, 2026

I thought the existing code treated urgent windows the same regardless of the workspace. But if that's not the case, then this change will fix it.

@vkareh vkareh merged commit a9c3dea into master May 27, 2026
14 checks passed
@vkareh vkareh deleted the consolidate-alt-tab-placement branch May 27, 2026 20:44
@mbkma
Copy link
Copy Markdown
Member

mbkma commented May 27, 2026

I think in general it is better to wait for an approval before merging.

@vkareh
Copy link
Copy Markdown
Member Author

vkareh commented May 27, 2026

I think in general it is better to wait for an approval before merging.

Oh shoot, you're right about that, sorry.

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.

Alt+Tab changes workspace somewhat randomly

2 participants