mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-26 12:35:33 +00:00
FIX None macro from X11 colliding with Event::None and others
This commit is contained in:
parent
bdd64b2c34
commit
886ff676f6
@ -37,6 +37,11 @@
|
||||
#endif
|
||||
#elif defined(ALLEGRO_UNIX)
|
||||
#include <xalleg.h>
|
||||
#ifdef None
|
||||
#undef None
|
||||
#define X11_None 0L
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
@ -628,7 +633,7 @@ public:
|
||||
XGrabPointer(_xwin.display, _xwin.window, False,
|
||||
PointerMotionMask | ButtonPressMask | ButtonReleaseMask,
|
||||
GrabModeAsync, GrabModeAsync,
|
||||
None, None, CurrentTime);
|
||||
X11_None, X11_None, CurrentTime);
|
||||
|
||||
#endif
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user