darcs patch: add 'property' Query to ManageHook -- comments please!!

Hi all,
Here's a patch implementing a rudimentary way to extract String properties
other than WM_CLASS from a window. I'm sure it can be improved, especially
with respect to its handling of Unicode stuff (?? -- it's currently rather
stupid in this respect, but I don't know much about any of that).
However, it would be nice if this (or a modified version) made it in,
several people have asked for it in the past. For example, just yesterday,
sphynx was asking how to get the WM_WINDOW_ROLE, and now this could be
accomplished like
property "WM_WINDOW_ROLE" =? "foo" --> doF ...
-Brent
Tue Mar 25 10:54:14 EDT 2008 Brent Yorgey

On Tue, Mar 25, 2008 at 02:48:38PM -0400, Brent Yorgey wrote:
Hi all,
Here's a patch implementing a rudimentary way to extract String properties other than WM_CLASS from a window. I'm sure it can be improved, especially with respect to its handling of Unicode stuff (?? -- it's currently rather stupid in this respect, but I don't know much about any of that).
However, it would be nice if this (or a modified version) made it in, several people have asked for it in the past. For example, just yesterday, sphynx was asking how to get the WM_WINDOW_ROLE, and now this could be accomplished like
property "WM_WINDOW_ROLE" =? "foo" --> doF ...
-Brent
Tue Mar 25 10:54:14 EDT 2008 Brent Yorgey
* ManageHook: add a 'property' Query that can get an arbitrary String property from a window (such as WM_WINDOW_ROLE, for example)
Applied.
participants (2)
-
Brent Yorgey
-
Spencer Janssen