avahe-kellenberger / nimdow

A window manager written in Nim (In Development)
GNU General Public License v2.0
317 stars 19 forks source link

Set _NET_WM_STATE_HIDDEN on other windows when one is fullscreened #189

Closed PMunch closed 2 years ago

PMunch commented 2 years ago

I use the Picom compositor and it has a rule for making the background of my terminals transparent. This works well, but when I fullscreen a terminal in Nimdow I can see the other windows below, which is very disturbing when trying to read text. In order to avoid this in i3 I have a rule that _NET_WM_STATE = _NET_WM_STATE_HIDDEN should be completely transparent. Apparently i3 then either removes those windows or just sets that hint and lets my compositor handle the hiding.

So in summary I believe that _NET_WM_STATE_HIDDEN should be set on windows when another window on the same screen is fullscreened.