On Sun, May 10, 2009 at 12:26:02AM -0700, Suraj Kurapati wrote:
Is there an easier way to detect if a client is currently fullscreen than: ...
No, it should really be available from /client/*/ctl, though. I'll add that later today. Probably the best option available, though, is to use xprop (or whatever X11 library is available for your language) to see if _NET_WM_STATE contains _NET_WM_STATE_FULLSCREEN.
-- Kris Maglione The object-oriented model makes it easy to build up programs by accretion. What this often means, in practice, is that it provides a structured way to write spaghetti code. --Paul Graham