Files
summit/engine/devtools
alex dc5421bf0d engine: capture native Wayland windows through the ScreenCast portal and PipeWire
On a Wayland session, --window finds the game among XWayland windows (captured as on X11) and, on KDE, among
KWin's native windows (a one-shot KWin script reports pid, title, place and focus over D-Bus). A native window
goes through xdg-desktop-portal ScreenCast (one window, pointer hidden, persist_mode 2; the restore token is kept
in ~/.config/summit/screencast-token) and gst-launch-1.0 pipewiresrc piping raw BGR (CPU copy). Run on Plasma 6.8:
the dialog once, then restored for a new window of the same app with no dialog; about 50 new frames a second
at 1288x748. devtools/wayland_standin.py is a native Wayland test window that logs its keys and focus.
2026-11-24 16:54:11 +00:00
..