Changeset 654


Ignore:
Timestamp:
May 15, 2011, 6:13:36 AM (9 years ago)
Author:
Sam Hocevar
Message:

imlib: fix a mouse pointer coordinate bug introduced in the JCMouse
refactoring.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/imlib/event.h

    r652 r654  
    8080  void set_mouse_shape(image *im, int centerx, int centery)
    8181  {
    82     m_sprite->change_visual(im);
    83     m_center = vec2i(-centerx, -centery);
     82    m_sprite->change_visual(im, 1);
     83    m_center = vec2i(centerx, centery);
    8484  }
    8585  void set_mouse_position(int mx, int my)
Note: See TracChangeset for help on using the changeset viewer.