Xlib event when window is moved from one workspace to another
Question
I want to know the event name of application moving from one workspace to another using Xlib.
Solution
You will get a PropertyNotify on _NET_WM_DESKTOP http://standards.freedesktop.org/wm-spec/latest/ar01s05.html#id2568910
(only with WMs that support _NET_WM_DESKTOP, but most standard ones do)
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow