Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pause when fullscreen #6

Open
dimqua opened this issue Nov 4, 2017 · 3 comments
Open

Pause when fullscreen #6

dimqua opened this issue Nov 4, 2017 · 3 comments

Comments

@dimqua
Copy link

dimqua commented Nov 4, 2017

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

@Chemrat
Copy link
Owner

Chemrat commented Nov 30, 2017

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.

@dimqua
Copy link
Author

dimqua commented Nov 30, 2017

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

And it's already implemented in redshift-gtk: jonls/redshift#407

@Chemrat
Copy link
Owner

Chemrat commented Nov 30, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants