Skip to content

Commit

Permalink
X.A.WindowNavigation: better handling of floating windows and Full la…
Browse files Browse the repository at this point in the history
…yout

Previous version most of the time just got "stuck" on floating windows,
switching back and forth between floating window and tiled window underneath.
This was because "magic point" was left in the same position and thus next
navigation commands selected the same windows over and over again.
Now the "magic point" is moved around such that it doesn't overlap with the previously selected window,
and there are more complicated rules to make navigation between floating and tiled windows more natural.

The original behavior of navigating between tiled windows is preserved almost precisely.

Previous version also prevented switching windows using focusUp/focusDown
when in Full layout. Now there's a special case that handles such situations.
  • Loading branch information
Rogach committed Jun 29, 2024
1 parent 55f4c4f commit 3f6e585
Show file tree
Hide file tree
Showing 5 changed files with 930 additions and 87 deletions.
5 changes: 5 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,11 @@
- Added screen edge support with `SCTop`, `SCBottom`, `SCLeft` and
`SCRight`. Now both corners and edges are supported.

* `XMonad.Actions.WindowNavigation`

- Improve navigation in presence of floating windows.
- Handle window switching when in `Full` layout.

### Other changes

## 0.18.0 (February 3, 2024)
Expand Down
Loading

0 comments on commit 3f6e585

Please sign in to comment.