> I just discovered that in plain X I get absolute motion events
> (evPtrAbsolute), while in DGA I get relative motion events
> (evPtrRelative). Is this documented somewhere, or can I even
> select which type of motion event reporting I'd like ?

This is possible for X, but not for all targets. The right thing to do is to
handle both cases, like it is done e.g. in some of the demos.

something like:

        case evPtrRelative:
                x+=ev->pmove.x;y+=ev->pmove.y;break;

        case evPtrAbsolute:
                x =ev->pmove.x;y =ev->pmove.y;break;

or vice versa, if you want relative events as the natural thing for you app.

CU, ANdy

-- 
= Andreas Beck                    |  Email :  <[EMAIL PROTECTED]>        =

Reply via email to