aboutsummaryrefslogtreecommitdiff
path: root/scripts/theme-studio/previews.js
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-25 11:56:35 -0400
committerCraig Jennings <c@cjennings.net>2026-06-25 11:56:35 -0400
commit82714a5401c2ea33ed3d03f38d505b31f19d4200 (patch)
tree3471df21a11329582a08a2f399a8debe3d3f7e7c /scripts/theme-studio/previews.js
parent714c7e6303b5f958f60e1353bf5233d279656e2e (diff)
downloaddotemacs-82714a5401c2ea33ed3d03f38d505b31f19d4200.tar.gz
dotemacs-82714a5401c2ea33ed3d03f38d505b31f19d4200.zip
fix(dirvish): reap the Super+F popup session on any frame close
The popup's q (cj/dirvish-popup-quit) reaps the session's dired buffers, but closing the Hyprland float directly or letting it lose focus bypasses q and orphans them, which is the "leaves a load of buffers around" symptom. A delete-frame-functions hook scoped to the "dirvish" popup frame runs dirvish-quit on every close path. Regular C-x d sessions, where multiple dired buffers are wanted for mark-and-move, and the global dired-kill-when-opening-new-dired-buffer (deliberately off for that same reason) are both untouched. Verified: a navigated popup session drops back to baseline when the frame closes without q.
Diffstat (limited to 'scripts/theme-studio/previews.js')
0 files changed, 0 insertions, 0 deletions