>>>>> "Manuel" == Manuel Giraud <[EMAIL PROTECTED]> writes:
Manuel> Fred Gilham <[EMAIL PROTECTED]> writes:
>> Here's what I get:
>>
>> * (let ((dpy (ext:open-clx-display)))
>> (nth-value 0 (xlib:input-focus dpy)))
>>
>> :POINTER-ROOT
>> *
>>
>> That seems right according to the documentation.
>>
Manuel> OK, I've tried with emacs as a window manager (no true window manager at
all)
Manuel> and I also get this result. But I can't figure out why when using a real
window
Manuel> manager (fvwm2 in this case) the returned value is different between the
Lisp
Manuel> and the C version.
If it's any consolation, when I run the test code in an xterm or in
xemacs, I get a SIGSEGV on my Solaris box. It's crashing in
xlib:input-focus at
(WITH-BUFFER-REQUEST-AND-REPLY (DISPLAY *X-GETINPUTFOCUS* 16 :SIZES (8 32)) NIL
(VALUES (OR-GET 8 (MEMBER :NONE :POINTER-ROOT) WINDOW)
(MEMBER8-GET 1 :NONE :POINTER-ROOT :PARENT)))
Sorry, I don't grok X so I don't know what to do here.
Ray