[Xcb] Query related to Xlib Events

Jeremy Kolb jkolb at brandeis.edu
Thu Jul 14 22:15:58 EST 2005


Are you talking about XCB or Xlibs?  The code you posted is for xlibs so you
may want to try posting to xorg at lists.freedesktop.org.

Jeremy

Quoting pihu <m.richa at gmail.com>:

> Hi,
>
> Can I select my Input Events TWICE in my Code Like :-
>
> First Time : -
>
> XSelectInput(dpy, window, ExposureMask | KeyPressMask |
>                ButtonPressMask |ButtonReleaseMask | PointerMotionMask
> | Button1MotionMask );
>
> 2nd Time :-
>
> XSelectInput(dpy, window, ButtonPressMask |ButtonReleaseMask |
> PointerMotionMask | Button1MotionMask );
>
> For both the cases I have made Switch case as per my requirement.
>
> Is it possible to do???
> Or it takes only once ????
>
> if anybody knows anything about it please let me know.
>
> Regards,
> Pihu
> _______________________________________________
> xcb mailing list
> xcb at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xcb
>




More information about the xcb mailing list