removed artifact from removed X11 support
authorHolger Schemel <info@artsoft.org>
Fri, 15 May 2015 15:08:28 +0000 (17:08 +0200)
committerHolger Schemel <info@artsoft.org>
Fri, 15 May 2015 15:08:28 +0000 (17:08 +0200)
src/events.c
src/libgame/system.c
src/libgame/system.h
src/tools.c

index 42277b02e6c1947d5e0176b11657638aa68a7e49..c748bbcb41ebb5fa7ace9f22c4fa70f67f90aaf8 100644 (file)
@@ -407,9 +407,6 @@ void HandleButtonEvent(ButtonEvent *event)
 
 void HandleMotionEvent(MotionEvent *event)
 {
-  if (!PointerInWindow(window))
-    return;    /* window and pointer are on different screens */
-
   if (button_status == MB_RELEASED && game_status != GAME_MODE_EDITOR)
     return;
 
index 5c2025b632cf141d1aefffe39820684303ca4b85..f0d73e7311e9e102686a56319b8c4ce59e4f7df9 100644 (file)
@@ -800,11 +800,6 @@ void KeyboardAutoRepeatOff(void)
 #endif
 }
 
-boolean PointerInWindow(DrawWindow *window)
-{
-  return TRUE;
-}
-
 boolean SetVideoMode(boolean fullscreen)
 {
   return SDLSetVideoMode(&backbuffer, fullscreen);
index ae32d93f36b778888ce86b9607a47465a8736293..a6e9b9f33b63b3bb572f1f1317873be97316aa56 100644 (file)
@@ -1354,7 +1354,6 @@ Pixel GetPixelFromRGBcompact(Bitmap *, unsigned int);
 
 void KeyboardAutoRepeatOn(void);
 void KeyboardAutoRepeatOff(void);
-boolean PointerInWindow(DrawWindow *);
 boolean SetVideoMode(boolean);
 boolean ChangeVideoModeIfNeeded(boolean);
 
index 3ce90952869b775e0b12b2f7c7dd6136251670e0..1676bc894c6638865dc0457b441edd8fcbdd054a 100644 (file)
@@ -3301,9 +3301,6 @@ static int RequestHandleEvents(unsigned int req_state)
          {
            if (event.type == EVENT_MOTIONNOTIFY)
            {
-             if (!PointerInWindow(window))
-               continue;       /* window and pointer on different screens */
-
              if (!button_status)
                continue;