diogox / bspm

The bspwm manager
8 stars 0 forks source link

Fix bspwm's fullscreen mode resizing adjacent nodes #5

Open diogox opened 3 years ago

diogox commented 3 years ago

Requested here.

Described as such:

when you have side by side windows, you fullscreen one, the other one isnt visible but it receives some resize events. I m not sure what is happening with it but i d guess it has whole screen to span and the window you fullscreen is above it. Issue is that it triggers those resize events on windows bellow and thats pretty insane if you imagine it being bloated javascript site ...Company I work at has js that reloads site on certain width (to ditch some dependencies that are not needed on that size) and its annoying af. This could be solved by including empty node instead of the window that is fullscreened after. Goal is to make that browser "NOT RESIZE AT ALL". What i felt like is BIG problem, is what happens when you press program's fullscreen button (like F on mpv, video player), how would u get that event?

Need to make sure if this is fixable (there are suggestions in the mentioned thread. Read it), and if it makes sense to fix it in this tool.

I'm thinking this might just be a matter of making a "fullscreen mode" that simulates a fullscreen mode by hiding the adjacent nodes? Unless that still resizes them? And it doesn't fix other fullscreen triggers. Need to research this more.

diogox commented 3 years ago

Check out this comment for a suggestion.