EWMH and XRandR
Par jd le jeudi, décembre 27 2007, 19:48 - awesome - Lien permanent
Today I decided to add some EWMH support to awesome. It now supports a bunch of this extensions quite nicely.
However, while reading the spec and writing the code, it appears that this forces a window manager to behave in only one way: have a poor desktop support, and no multi-head/XRandR/Xinerama support at all.
The main caveats are that in Xinerama/XRandR mode, you'll have only one root window. And the root window is where you must store the NET_WM X properties… So you cannot handle screens in a independant way like awesome does. That's really a shame.
There's also a big problem for window managers like awesome which are happy to draw several desktops at the same time. There's no support for stuff like that.
So far, I think EWMH is nice but is really too narrow-minded for softwares and people who want to think window management in a different way.
Commentaires
Funny, while you were posting that, I was trying to improve the EWMH support for xmonad, and were hitting the same problems as you did.
My best approximation was mark the currently focused workspace ("desktop") as the current one, and display the windows from other visible workspaces in the same desktop EWMH wise (which means that that window stays then empty in the panel). Probably hard to explan, actually
Let me know if you have some great hack to force EWMH to do what you want.
Fil des commentaires de ce billet