query regarding Xlib Events

pihu m.richa at gmail.com
Thu Jul 14 12:09:47 EEST 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 xdg mailing list