Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork334
Add MRU window navigation actions#977
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Closed
Uh oh!
There was an error while loading.Please reload this page.
Closed
Changes from1 commit
Commits
Show all changes
32 commits Select commitHold shift + click to select a range
5db4c37
Add MRU window navigation actions
rustn00be3bc967
Rename WindowMRU fields
rustn00bb1146e3
Improve window close handling during MRU traversal
rustn00b5677748
Removed dbg! calls
rustn00b029d215
Merge remote-tracking branch 'upstream/main' into window-mru
rustn00b84597fd
Hardcode Alt-Tab/Alt-shift-Tab for MRU window nav
rustn00bea612c4
Remove `focus-window-mru` actions from config
rustn00b3ac6a66
Cancel MRU traversal with Alt-Esc
rustn00bf2e929d
Rephrase some comments
rustn00b2c69396
Fix Alt-Esc not cancelling window-mru
rustn00b944a3eb
Merge remote-tracking branch 'upstream/main' into window-mru
rustn00b80cfd4a
Lock-in focus immediately on user interaction
rustn00bb4ab021
Merge remote-tracking branch 'upstream/main' into window-mru
rustn00b74ee34e
Simplify WindowMRU::new
rustn00b46e6d59
Replace Duration with Instant in WindowMRU timestamp
rustn00bbef1c0b
Merge remote-tracking branch 'upstream/main' into window-mru
rustn00b2f96fa5
Address PR comments - partial
rustn00bb03864f
Simplify early-mru-commit logic
rustn00b97d582d
Handle PR comments
rustn00b1d57839
Merge remote-tracking branch 'upstream/main' into window-mru
rustn00b7a9e0e2
Merge remote-tracking branch 'upstream/main' into window-mru
rustn00bcf7491d
Add MRU window navigation actions
rustn00bf525612
Include never focused windows in MRU list
rustn00b531851d
Remove mru_commit_ms from configurable options
rustn00be3cc921
Merge remote-tracking branch 'upstream/main' into HEAD
rustn00b5bc01b1
Add hotkey_overlay_tile for PRESET_BINDINGS
rustn00b931b9de
Merge remote-tracking branch 'origin/window-mru' into HEAD
rustn00bccc359a
Merge remote-tracking branch 'upstream/main' into window-mru
rustn00bd3577fc
Merge remote-tracking branch 'upstream/main' into window-mru
rustn00b89cee2d
Merge remote-tracking branch 'upstream/main' into window-mru
rustn00bf63dd94
Merge remote-tracking branch 'upstream/main' into window-mru
rustn00bd9d35a8
Run cargo fmt
rustn00bFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
Removed dbg! calls
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commit5677748624582b07e83045b7bca00937b7a743a2
There are no files selected for viewing
2 changes: 0 additions & 2 deletionssrc/input/mod.rs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -382,7 +382,6 @@ impl State { | ||
.active_workspace_mut() | ||
.and_then(|ws| ws.active_window_mut()) | ||
{ | ||
m.update_focus_timestamp(now); | ||
} | ||
} | ||
@@ -407,7 +406,6 @@ impl State { | ||
let window = this.niri.layout.windows().find(|(_, m)| m.id() == id); | ||
let window = window.map(|(_, m)| m.window.clone()); | ||
if let Some(window) = window { | ||
this.focus_window(&window); | ||
return FilterResult::Intercept(None); | ||
rustn00b marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
} | ||
9 changes: 2 additions & 7 deletionssrc/niri.rs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.