Executing xlib code. Simple question.

Peter Hutterer peter.hutterer at who-t.net
Wed Jan 29 21:53:07 PST 2014


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 at 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



More information about the xorg mailing list