fix(overlay): Linux X11/XWayland stacking, stale pause state, multi-copy selector (#101)

This commit is contained in:
2026-05-31 20:59:18 -07:00
committed by GitHub
parent b46b8dfa41
commit e1ea464bc9
103 changed files with 6314 additions and 353 deletions
+6 -1
View File
@@ -1218,7 +1218,12 @@ export function createKeyboardHandlers(
document.addEventListener('mousedown', (e: MouseEvent) => {
if (e.button === 2 && !isInteractiveTarget(e.target)) {
e.preventDefault();
window.electronAPI.sendMpvCommand(['cycle', 'pause']);
void window.electronAPI
.activatePlaybackWindowForOverlayInteraction()
.catch(() => false)
.finally(() => {
window.electronAPI.sendMpvCommand(['cycle', 'pause']);
});
}
});