Re: [wmii] detecting if client is fullscreen

From: Kris Maglione <maglione.k_AT_gmail.com>
Date: Sun, 10 May 2009 13:24:45 -0400

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
Received on Sun May 10 2009 - 17:24:45 UTC

This archive was generated by hypermail 2.2.0 : Sun May 10 2009 - 17:36:07 UTC