bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#17537: x-window-property doesn't work for most properties


From: Andreas Schwab
Subject: bug#17537: x-window-property doesn't work for most properties
Date: Wed, 21 May 2014 09:27:42 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Jeremy Maitin-Shepard <jeremy@jeremyms.com> writes:

> x-window-property seems to return nil for most properties.
>
> (x-window-property "WM_HINTS")  -> returns non-nil
>
> (x-window-property "WM_NAME") -> returns nil even though the property is
> set (and displayed by xprop)
>
> (x-window-property "_NET_WM_STATE") -> returns nil even though property is
> set
>
> In fact I haven't found any property I can read other than WM_HINTS.

You can, if you use the same window id for the target window as xprop
(or build emacs without toolkit).

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."





reply via email to

[Prev in Thread] Current Thread [Next in Thread]