What are you working on? - Programming On Unix
Users browsing this thread: 56 Guest(s)
|
|||
(18-08-2020, 02:30 AM)venam Wrote: Maybe it's better to call it a wmctrl clone.Hehe. I wrote it mostly to understand X Atom and property handling. So it's more an exercise for me than an utility for others to use, so that justify reinventing the wheel. As is shod(1), an exercise for me to better understand X event handling and window management. The only utility that I wrote for others to use is changemon, which I think there is nothing like it yet. (18-08-2020, 05:12 AM)z3bra Wrote: Check out my WM: glazier. It uses a standalone tool named ewmh(1) to offload EWMH stuff from the WM. The code is (IMO) relatively simple and easy to read.I have already checked ewmh(1) and glazier(1)! I think that it is a harder work to separate both utilities, as most of ewmh hints need the wm to keep track of some client states and configuration. But you have done this harder work in an elegant way. Do you think in add other _NET_WM_STATEs other than _NET_WM_STATE_FULLSCREEN? I think that _NET_WM_STATE_MAXIMIZED_* could be implemented the same way as _NET_WM_STATE_FULLSCREEN, with properties keeping track of the unmaximized window size. And _NET_WM_STATE_HIDDEN could be implemented with a property containing a list of hidden windows. |
|||