From fc2f6f4c500d0364d5dd5cf366be2fa8592f8469 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 10 Feb 2025 19:31:27 +0100 Subject: Better detect focused x11 window on wayland, properly get focused game name on wayland --- TODO | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'TODO') diff --git a/TODO b/TODO index 5bb1970..01d9b0b 100644 --- a/TODO +++ b/TODO @@ -118,5 +118,4 @@ Check if "modprobe uinput" is needed on some systems (old fedora?). Add recording timer to see duration of recording/streaming. -Saving video into a folder with the name of the game doesn't always work on wayland. This happens when trying to save a video with the ui open and the ui opens without override redirect. - Maybe a solution would be to query all windows (top to bottom) and check which window the cursor is inside, ignoring the gsr-ui window \ No newline at end of file +Make folder with window name work when using gamescope. Gamescope runs x11 itself so to get the window name inside that we have to connect to the gamescope X11 server (DISPLAY=:1 on x11 and DISPLAY=:2 on wayland, but not always). \ No newline at end of file -- cgit v1.2.3-70-g09d2