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

List:       freedesktop-xorg
Subject:    Re: Executing xlib code. Simple question.
From:       Peter Hutterer <peter.hutterer () who-t ! net>
Date:       2014-01-30 5:53:07
Message-ID: 20140130055307.GB7707 () yabbi ! redhat ! com
[Download RAW message or body]

On Wed, Jan 29, 2014 at 06:43:55PM -0600, ... wrote:
> I want to write a super simple program that just calls xiwarppointer.
> Inorder for this to affect the mouse in a window manager, do I have to
> modify the wm source code, or can I write it as a stand alone?

the window manager has no effect on mouse movement, if you call
XIWarpPointer, the server will move the mouse and the WM merely gets events
for the final position it moved to.

Cheers,
   Peter

> 
> I'm a total newbie, but I do know some c and lots of python.  I would just
> use straight xlib.  Sorry if this is the wrong list.
> 
> For background, this is the last piece I need for a multi-head,
> multi-input, multi-user, hardware accelerated gaming implementation.  (I've
> been told it doesn't qualify as multi-seat, though I disagree).  The wm is
> tab window manager (twm).
> 
> Thanks,
> Elliot

> _______________________________________________
> xorg@lists.x.org: X.Org support
> Archives: http://lists.freedesktop.org/archives/xorg
> Info: http://lists.x.org/mailman/listinfo/xorg
> Your subscription address: %(user_address)s

_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s
[prev in list] [next in list] [prev in thread] [next in thread] 

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