aboutsummaryrefslogtreecommitdiff
path: root/libs/plugin_python/src/mobase/wrappers/pyplugins.h
diff options
context:
space:
mode:
authorSulfurNitride <SulfurNitride@users.noreply.github.com>2026-05-15 17:21:41 -0500
committerSulfurNitride <lukew19@proton.me>2026-05-16 12:58:07 -0500
commit48a00723e4d309018309f4fb40870c8f0403f812 (patch)
tree2a93c180ddd10b75305d5c85a5753402c9b4e2f9 /libs/plugin_python/src/mobase/wrappers/pyplugins.h
parent25c189f4de8288e1c65002b52d6d293be6c5b7cb (diff)
ui: always lock during executable run; kill wineserver on Unlock
The "Lock GUI when running executable" toggle is removed from the Workarounds settings tab. Locking is required for the post-run refresh to know when files changed under the prefix, and the off-state was a well-documented foot-gun. The setter/getter on InterfaceSettings, the QSettings key (Settings/lock_gui), the checkbox widget, the tabstop entry, and the two no-lock branches in ProcessRunner::postRun all go. When the user clicks Unlock in the lock dialog, also SIGTERM the tracked game pid and hard-kill the prefix's wineserver. The Cancelled branch (Cancel in PreventExit mode) already did this; the ForceUnlocked branch silently returned and left wineserver running, so Proton's session manager held the prefix open for tens of seconds and the next launch inherited a dirty state. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'libs/plugin_python/src/mobase/wrappers/pyplugins.h')
0 files changed, 0 insertions, 0 deletions