diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-13 13:27:25 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-13 13:27:25 -0500 |
| commit | c89c0980830c36dcfa04c31778bfbc8e893a3f99 (patch) | |
| tree | 61a1c293b4a3b57867368cb65d24136e0df9caed /calendar-sync.local.el.example | |
| parent | 86efd33c0e00b5c86acb4f00591f081e7f87558d (diff) | |
| download | dotemacs-c89c0980830c36dcfa04c31778bfbc8e893a3f99.tar.gz dotemacs-c89c0980830c36dcfa04c31778bfbc8e893a3f99.zip | |
fix(ui-navigation): clear dedicated before toggling window split
toggle-window-split swapped buffers between two windows via two set-window-buffer calls. If either window was strongly dedicated (e.g. *Org Agenda* via the display-buffer-alist rule), the dedicated window rejected the second swap. Both panes ended up showing the dedicated buffer. The non-dedicated buffer never made it across.
The fix clears dedicated on both windows before the swap. The user explicitly invoked a layout change, so preserving per-window dedicated through the operation would just re-trigger the same wedge on the next toggle.
Tests in tests/test-ui-navigation--toggle-window-split.el cover the no-dedicated baseline, the bug-trigger (dedicated selected window), the post-toggle cleared state, and the one-window / three-window no-op boundaries.
Diffstat (limited to 'calendar-sync.local.el.example')
0 files changed, 0 insertions, 0 deletions
