diff options
| author | Craig Jennings <c@cjennings.net> | 2026-07-20 15:38:23 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-07-20 15:38:23 -0500 |
| commit | 1ccd7bddf55c41202afe316e70fa01059e1bcbbb (patch) | |
| tree | fee8bbe60482ecd7fba283a0e1aba9927db6aa6d /tests | |
| parent | 404590623599398f120cd73d44ad235271c3b5bd (diff) | |
| download | dotemacs-1ccd7bddf55c41202afe316e70fa01059e1bcbbb.tar.gz dotemacs-1ccd7bddf55c41202afe316e70fa01059e1bcbbb.zip | |
fix(agenda): spawn the agenda frame tiled, not compositor-fullscreen
I dropped (fullscreen . fullboth) from the spawned frame so a tiling WM places it side by side with the working frame. "Fullscreen" was the wrong word for the intent: a normal frame at its full tiled position, not one covering the whole output. The engage-routing and focus logic are unchanged and matter more now, since a task opens in the adjacent working pane.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test-org-agenda-frame.el | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/test-org-agenda-frame.el b/tests/test-org-agenda-frame.el index 2b9dfcfc..48ac1594 100644 --- a/tests/test-org-agenda-frame.el +++ b/tests/test-org-agenda-frame.el @@ -700,6 +700,16 @@ Guards against restoring by raw line number after the item moved." (call-interactively 'cj/agenda-frame-toggle) (should called)))) +(ert-deftest test-org-agenda-frame-parameters-normal-tiled-frame () + "Boundary: the agenda frame is a normal frame (the tiling WM places it +side by side with the working frame), carrying the marker and a distinct name." + (let ((params (cj/--agenda-frame-make-parameters))) + (should (assq cj/--agenda-frame-parameter params)) + (should (equal (cdr (assq 'name params)) "Org Agenda")) + ;; No fullscreen request -- a fullboth frame would cover the whole output + ;; instead of tiling beside the working frame. + (should-not (assq 'fullscreen params)))) + (ert-deftest test-org-agenda-frame-spawn-starts-timer () "Normal: a successful spawn starts the refresh timer for the new frame." (let (timed) |
