From: Philippe B. <ho...@fr...> - 2008-10-28 21:17:10
|
Sam Steingold writes: > > * Philippe Brochard <ub...@se...> [2008-10-28 00:15:35 +0100]: > > > > I have had some troubles with the :any button parameter in the > > grab-button function with the new-clx module. > > a test case would be nice (in a format suitable for new-clx/test.tst) > I have a live test case with clfswm but here is (I hope) a more specific one: -- in new-clx/test.tst --------------------------- (xlib:with-open-display (dpy) (let* ((screen (first (xlib:display-roots dpy))) (root (xlib:screen-root screen))) (format t "Press the right button (Or the left button if the right one doesn't works)~%") (xlib:grab-button root :any '(:button-press) :modifiers :any) (xlib:process-event dpy :handler (lambda (&rest event-data) (show event-data))) (xlib:ungrab-button root :any :modifiers :any) t)) T -------------------------------------------------- > > Attached is a (very) simple patch to make it work. > > applied. > thanks. > > > Another minor detail, the version number on the clisp.cons.org site > > have not been updated. > > done. > thanks for the note - I did not notice that SF pulled a service from > under me and I have to update my scripts... > The wrong version bugged my auto build script: it built a 2.46 instead of the attempted 2.47 version... > > Thanks for your great work, > > Thanks for your patches and bug reports! > Philippe |