[Xcb] Query related to Xlib Events

pihu m.richa at gmail.com
Thu Jul 14 19:10:32 EST 2005


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


More information about the xcb mailing list