mirror of
https://github.com/webadderallorg/Recordly.git
synced 2026-09-29 09:15:45 +00:00
BrowserWindow.setBounds() with x/y is silently ignored on Wayland (the compositor owns window placement), so the IPC-driven HUD drag never moved the window \u2014 it stayed put even though pointer events fired and the cursor changed to grabbing. Mark the drag handle as -webkit-app-region: drag on Linux (only in the IPC/overlay mode; webcam-preview mode still uses the in-window CSS transform) so the OS performs a real xdg_toplevel.move. Mirror the resulting bounds into hudUserPosition via the window 'moved' event so commit a78f7d4's in-place resize behavior keeps working on Linux.