SafeEyes icon indicating copy to clipboard operation
SafeEyes copied to clipboard

donotdisturb: switch x11 fullscreen detection to Xlib

Open deltragon opened this issue 4 months ago • 0 comments

This is needed for Gtk4, as Gtk4 does not offer APIs to find/change other applications' windows. No functional change intended. This should keep the exact same behaviour on X11 as the Gtk3 implementation, as it sends the same X events.

This is best reviewed with whitespace ignored, as some of the logic stays the same (but changes indentation).

This should be the last blocker before #561 can be merged.

deltragon avatar Oct 02 '24 17:10 deltragon