Manuel Giraud <[EMAIL PROTECTED]> writes:
> 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. >> > > OK, I've tried with emacs as a window manager (no true window manager at all) > and I also get this result. But I can't figure out why when using a real window > manager (fvwm2 in this case) the returned value is different between the Lisp > and the C version. > Not that I understand what this means, but since I have these things lying around, here it is for the record: --- --- --- Regular application with clx from clocc: * (setf *dpy* (ext:open-clx-display)) Warning: Declaring *DPY* special. #<XLIB:DISPLAY unix:0 (The XFree86 Project, Inc R40200000)> * (xlib:input-focus *dpy*) 0 :POINTER-ROOT * --- --- --- The same running with lisp (Eclipse) as window-manager, *display* is the managed display: * (xlib:input-focus *display*) 0 :POINTER-ROOT * -- H�kon Alstadheim, hjemmepappa.
