Add NO_X11 option at compiletime to disable X11 specific stuff with SDL driver
just compile with $ NO_X11=1 make
This commit is contained in:
@@ -581,7 +581,7 @@ void Allow_drag_and_drop(int flag)
|
||||
#ifdef __WIN32__
|
||||
DragAcceptFiles(GFX2_Get_Window_Handle(), flag?TRUE:FALSE);
|
||||
SDL_EventState (SDL_SYSWMEVENT, flag?SDL_ENABLE:SDL_DISABLE);
|
||||
#elif defined(SDL_VIDEO_DRIVER_X11)
|
||||
#elif defined(SDL_VIDEO_DRIVER_X11) && !defined(NO_X11)
|
||||
Atom version = flag ? 5 : 0;
|
||||
Display * display;
|
||||
Window window;
|
||||
|
||||
Reference in New Issue
Block a user