Re: [AD] Using system mouse cursor

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Saturday 04 September 2004 09:26, Chris wrote:
> As well, position_mouse doesn't seem to be working.

Can you try with the following patch? This actually changes nothing for me, 
but it may this problem for you.

Evert

--- allegro/src/x/xwin.c	2004-09-03 11:30:45.000000000 +0200
+++ allegro-x-triple/src/x/xwin.c	2004-09-04 14:48:14.000000000 +0200
@@ -1656,6 +1656,8 @@
  */
 void _xwin_move_mouse(int x, int y)
 {
+      _mouse_x = x;
+      _mouse_y = y;
 }
 
 #endif   /* ALLEGRO_XWINDOWS_WITH_XCURSOR */





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/