Skip to content

Commit 3f6e585

Browse files
committed
X.A.WindowNavigation: better handling of floating windows and Full layout
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.
1 parent 55f4c4f commit 3f6e585

File tree

5 files changed

+930
-87
lines changed

5 files changed

+930
-87
lines changed

Diff for: CHANGES.md

+5
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,11 @@
9292
- Added screen edge support with `SCTop`, `SCBottom`, `SCLeft` and
9393
`SCRight`. Now both corners and edges are supported.
9494

95+
* `XMonad.Actions.WindowNavigation`
96+
97+
- Improve navigation in presence of floating windows.
98+
- Handle window switching when in `Full` layout.
99+
95100
### Other changes
96101

97102
## 0.18.0 (February 3, 2024)

0 commit comments

Comments
 (0)