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

Feature Request: Fake Full Screen #1467

Open
3BD-R opened this issue Sep 20, 2023 · 1 comment
Open

Feature Request: Fake Full Screen #1467

3BD-R opened this issue Sep 20, 2023 · 1 comment

Comments

@3BD-R
Copy link

3BD-R commented Sep 20, 2023

It is one of features that i figured it out with dwm and it so useful in many cases, it allows to use firefox in fullscreen mode while you opening another application beside it, to follow along with a video for example.

@ortango
Copy link

ortango commented Sep 20, 2023

It's worth saying that the config ignore_ewmh_fullscreen exists for bspwm and full-screen-api.ignore-widgets exists for firefox.

Neither of them work without some hiccups though. eg, firefox (with ignore-widgets) will do what you want, but then if you wanted to fullscreen the video with bspwm then firefox will exit "fullscreen ui mode" and you would need to click the button again.

I made a quick proof of concept hack for fake fullscreen diff here. It is as simple as I could think of.

Basic idea is that wm_flags for fullscreen are only set by events; window state is set by bspc node -t, but will not set the wm_flag. If you want to set the "wm_flag" for a window with a hotkey you can use xdotool like xdotool getactivewindow windowstate --toggle FULLSCREEN.

It wouldn't be much more to have a proper fakefullscreen state (->state=tiled with fullscreen wm_flag) in set_state, but this hack seems to work well enough.

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

No branches or pull requests

2 participants