redshift-qt icon indicating copy to clipboard operation
redshift-qt copied to clipboard

Pause when fullscreen

Open dimqua opened this issue 8 years ago • 3 comments

Would be nice to have a possibility to pause the redshift when user open any full-screen window.

dimqua avatar Nov 04 '17 18:11 dimqua

I took a quick look but I don't really see an easy way to detect a fullscreen program running,

As far as I know Linux has very vague definition of a fullscreen program, e.g. SDL2 fullscreen is just a borderless, maximized desktop-sized window, so it's probably non-trivial to implement.

Chemrat avatar Nov 30 '17 18:11 Chemrat

This feature is especialy useful for media players, such as MPV, VLC, etc.

And it's already implemented in redshift-gtk: https://github.com/jonls/redshift/pull/407

dimqua avatar Nov 30 '17 18:11 dimqua

For players specifically & only it's probably easier to connect to MPRIS via dbus, I'll look into that. This won't work for games though.

Chemrat avatar Nov 30 '17 18:11 Chemrat