aboutsummaryrefslogtreecommitdiff
path: root/tests/test-dev-fkeys--f6-source-stem.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-24 04:08:19 -0500
committerCraig Jennings <c@cjennings.net>2026-05-24 04:08:19 -0500
commit556f48a2a0518253015496a618eec9e7a7142dcc (patch)
treec24de779d0f780448f1921dcf566a60d32a3e56d /tests/test-dev-fkeys--f6-source-stem.el
parent39795e850f2027a88021307a37de0381996df8a5 (diff)
downloaddotemacs-556f48a2a0518253015496a618eec9e7a7142dcc.tar.gz
dotemacs-556f48a2a0518253015496a618eec9e7a7142dcc.zip
fix(recording): scope wf-recorder stop signal to our own process
Stopping a Wayland recording ran pkill -INT wf-recorder, which signals every wf-recorder on the system — including an unrelated screen capture the user started outside Emacs. The stop path now scopes the producer-first interrupt to the wf-recorder child of our own recording shell via pkill -P <shell-pid>, in the new cj/recording--interrupt-child-wf-recorder helper. The producer-first ordering is unchanged: wf-recorder still gets SIGINT before the process-group signal so ffmpeg sees a clean EOF on pipe:0 and finalizes the MKV. The orphan-cleanup at recording start stays a broad by-name kill on purpose — those leftover recorders come from crashed sessions whose shells are already dead, so there is no live PID to scope to. Tests cover the scoped call, the nil-PID no-op, and that the bare system-wide form is never used.
Diffstat (limited to 'tests/test-dev-fkeys--f6-source-stem.el')
0 files changed, 0 insertions, 0 deletions