You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
rust: Extract hotkey background shortcut control before porting #4312
Phase 6 libobs core migration prerequisite, per testing-policy.md:189-201.
Extract the background shortcut control unit verbatim from libobs/obs-hotkey.c.h:875-917 into libobs/obs-hotkey-background-control.c.h: wake_background_client, obs_hotkeys_retry_background, obs_hotkeys_configure_background and obs_hotkeys_set_background_probe. Reuse the existing private hotkey lock/unlock seam without changing public headers, signatures, or behavior. Keep background press enablement out of scope.
Existing C characterization: test/cmocka/test_portal_shortcuts.c covers retry after decline/closure, probe enable/disable and editor configuration/failure. Preserve it unchanged; link the extracted source into every isolated consumer of obs-hotkey.c.h and keep native-build snapshots aligned. Validate focused native registration and portal tests, formatting and lint. No Rust implementation belongs in this prerequisite; follow-up targets obs-hotkey with Tier 1, unchanged Tier 2 and Tier 3 oracle coverage, after this extraction lands.
Collision search on current master found no Rust definitions, open issue/PR or pushed port/42*, port/43*, test/42*, test/43* branch changing these functions. Nearby identity-setter and routed-callback branches are disjoint. Deliver in BRANCH-ONLY mode while CI is backlogged; no PR until manager opens it.
Claiming: background shortcut control extraction (pool im-bo-g4-hkbg, slot obs-studio10), branch port/4312-hotkey-background-control-extract. 1. Move the four-function retry/configure/probe unit verbatim into its own .c.h using the existing private mutex seam. 2. Preserve existing portal characterization tests and register the extracted source for isolated consumers. 3. Run focused validation and full lint once, then push the branch only this session; no PR while the queue is backlogged. File the Rust swap as a follow-up after extraction.
Landed in #4931 (merge d6dcbd6). The four background shortcut control functions were extracted verbatim into libobs/obs-hotkey-background-control.c.h and registered in the core group and all isolated consumers, covering the acceptance. Closing.
Activity
zackees commentedon Nov 9, 2026
Claiming: background shortcut control extraction (pool im-bo-g4-hkbg, slot obs-studio10), branch port/4312-hotkey-background-control-extract. 1. Move the four-function retry/configure/probe unit verbatim into its own .c.h using the existing private mutex seam. 2. Preserve existing portal characterization tests and register the extracted source for isolated consumers. 3. Run focused validation and full lint once, then push the branch only this session; no PR while the queue is backlogged. File the Rust swap as a follow-up after extraction.
libobs: Extract hotkey background shortcut control
zackees commentedon Nov 17, 2026
Landed in #4931 (merge d6dcbd6). The four background shortcut control functions were extracted verbatim into libobs/obs-hotkey-background-control.c.h and registered in the core group and all isolated consumers, covering the acceptance. Closing.
libobs: Extract hotkey background shortcut control (obs-rust#4931)