summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2011-05-24 14:11:25 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2011-05-24 14:11:25 (GMT)
commit2a1e51abffd03ed292056deea24f71960628a664 (patch)
tree96d3826c3a3bcfdad894c4b429943b9d52e644fd /src
parenta52344f399857f49abecaa49d76489adb2366999 (diff)
downloadpowder-2a1e51abffd03ed292056deea24f71960628a664.zip
powder-2a1e51abffd03ed292056deea24f71960628a664.tar.gz
temp fix for linux compilation
Diffstat (limited to 'src')
-rw-r--r--src/graphics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphics.c b/src/graphics.c
index 863507b..7b9b0ea 100644
--- a/src/graphics.c
+++ b/src/graphics.c
@@ -3867,7 +3867,7 @@ int sdl_open(void)
sdl_seticon();
SDL_EnableUNICODE(1);
//SDL_EnableKeyRepeat(SDL_DEFAULT_REPEAT_DELAY, SDL_DEFAULT_REPEAT_INTERVAL);
-#if (defined(LIN32) || defined(LIN64)) && defined(SDL_VIDEO_DRIVER_X11)
+#if (defined(LIN32) || defined(LIN64)) && defined(SDL_VIDEO_DRIVER_X11) && defined(LIN_CLIP_TEST)
SDL_EventState(SDL_SYSWMEVENT, SDL_ENABLE);
SDL_VERSION(&sdl_wminfo.version);
SDL_GetWMInfo(&sdl_wminfo);