mirror of
https://github.com/VallierDev/uu-remote-linux.git
synced 2026-11-16 08:50:40 +01:00
* fix(privacy): keep the cover window out of the task manager The cover is a plain Wayland toplevel and GTK's skip-taskbar hint is X11 only, so KWin listed it: the task manager showed an unidentified window (class uuremote-server, caption "uu-remote-linux privacy") with the icon theme's generic "wayland" icon, a yellow W in Papirus. Mark the window through KWin scripting after the cover reports ready. The same one-shot script mechanism already moves windows to the virtual output. Failure only logs; the cover itself is unaffected. Verified on KDE Plasma 6.8 Wayland: setting skipTaskbar on the running cover removes the task manager entry immediately, and the entry returns when a new cover window is created without the fix. `cargo test --features wayland,portal`: 320 passed, 10 ignored. * fix(privacy): match every cover window, not just the first caption Picture mode creates one cover per physical monitor with the same title, and KWin appends " <2>" and similar suffixes to duplicate captions, so the exact match skipped every cover after the first on a multi-monitor host. Match the title as a prefix instead. * fix(privacy): report the cover ready only after its windows are mapped The child wrote "ready" before gtk_main(), so the host marked skip-taskbar while KWin may not have listed the cover yet; a cover that mapped later kept the task manager entry. Pump the pending GTK events to map the windows before the handshake, and run the mark script a second time to catch a compositor-side delay.