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

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

bug#12279: 24.2.50; x-window-property always returns nil


From: Tassilo Horn
Subject: bug#12279: 24.2.50; x-window-property always returns nil
Date: Sun, 26 Aug 2012 17:59:52 +0200
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.50 (gnu/linux)

Chong Yidong <cyd@gnu.org> writes:

>> Running GNU/Linux with Xorg, since some time I cannot get X window
>> properties anymore, that is, using emacs -Q (3 days old bzr
>> checkout), all of these return nil:
>>
>>   (x-window-property "WM_HINTS" nil "WM_HINTS" nil nil t)
>>   (x-window-property "WM_PROTOCOLS")
>>   (x-window-property "WM_NAME")
>>
>> I used xprop to get all X properies of the emacs frame itself, and I
>> can't get any of them using `x-window-property'.
>>
>> In GNU Emacs 24.2.50.1 (x86_64-pc-linux-gnu, GTK+ Version 3.4.4)
>>  of 2012-08-23 on thinkpad
>
> Can't really reproduce.  With latest trunk, also with a GTK 3 build
> (x86_64-unknown-linux-gnu, GTK+ Version 3.4.2), I get
>
> M-: (x-window-property "WM_HINTS" nil "WM_HINTS" nil nil t)
>   ==> [2 0 1 0 0 0 0 0 0]

I've updated my bzr checkout, and now it works again.  However, with the
slightly less recend emacs I'm currently running, I get nil.  This
was built on

,----[ C-h v emacs-build-time RET ]
| emacs-build-time is a variable defined in `version.el'.
| Its value is (20534 28456 614398 31000)
`----

which should be no more than 5 minutes later than the bzr update.
emacs-bzr-version is nil, so I cannot give the precise revision number.

Anyway, I'm happy it works again.

Bye,
Tassilo





reply via email to

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