[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xdg
Subject:    query regarding Xlib Events
From:       pihu <m.richa () gmail ! com>
Date:       2005-07-14 9:21:47
Message-ID: 8eb8335050714020913010588 () mail ! gmail ! com
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic