mirror of
https://github.com/joel16/SDL2.git
synced 2024-12-14 06:48:33 +00:00
Fixed mouse motion on MacOS X (recently broken)
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40455
This commit is contained in:
parent
a3897183c7
commit
76afd78776
@ -449,6 +449,8 @@ static void QZ_PumpEvents (_THIS)
|
||||
NSPoint p = [ event locationInWindow ];
|
||||
QZ_PrivateCocoaToSDL(this, &p);
|
||||
|
||||
SDL_PrivateMouseMotion (0, 0, p.x, p.y);
|
||||
|
||||
firstMouseEvent = 0;
|
||||
}
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user