X11/Xlib – how to intercept minimizing/restoring a window
I can check if a window is minimized when handling PropertyNotify
event using _NET_WM_STATE_HIDDEN
atom. Here is an example. That is too late in my case. I would like to intercept minimize/restore action – just after an user clicks minimize button or restore a window. How to achieve it ? Does exists any event which notifies about such actions ?