Commit Graph

10 Commits

Author SHA1 Message Date
dec05eba
9aea35200d Wrap kwin helper signals in a safe handler 2026-03-24 12:38:32 +01:00
p0358
2395fbcf69 kwin: add exception for Spectacle
The "normalWindow" check was added "just in case", since for Spectacle it's also true. Unfortunately it seems there's literally no other reliable way of checking for Spectacle windows other than hardcoding a check for its resourceClass...
2026-03-07 17:44:37 +01:00
p0358
1951fd7c20 kwin: add support for determining active window's monitor name 2026-03-07 17:44:22 +01:00
p0358
52afad5824 kwin: emit window fullscreen info + refactor helper script
The helper script was also refactored to minimize the amount of callbacks added and the memory used. There's no need to keep callbacks attached for non-active windows, which happened before.

Also it should be more efficient and simpler to send info over with just a single DBus call (also if more fields were to be added).

Both the script and the helper app will send/print info only if it changed since the previous one. Otherwise we'd keep spamming fullscreen false update when navigating the desktop and so on.
2026-03-07 17:44:10 +01:00
dec05eba
89995b805e Fix kwin window title workaround not working, rename com.dec05eba.gpu_screen_recorder.gsr_kwin_helper to com.dec05eba.gpu_screen_recorder, otherwise name reply primary owner error 2026-01-28 01:40:39 +01:00
dec05eba
c6339ac9c2 Rename dbus from com.dec05eba.gsr_kwin_helper to com.dec05eba.gpu_screen_recorder.gsr_kwin_helper for flatpak access 2026-01-24 18:14:11 +01:00
dec05eba
bfc7df5c56 Mention that libdbus is a new dependency 2026-01-24 01:01:26 +01:00
dec05eba
9c5688f61b Simplify gsr-hyprland-helper, some cleanups 2026-01-24 00:55:47 +01:00
Andrew
1e3e76fcee Hyprland and KDE workarounds should work with flatpak now 2026-01-22 10:41:02 +01:00
Andrew
00ceaa989d Added KWin workaround to get current window title 2026-01-22 10:40:51 +01:00