rnd-20000806-1-src
[rocksndiamonds.git] / src / tools.c
index 3bf2c5a5ad9644c6587e4a4b1655528ff763a7e9..559e06bfb8f3e036f83840f7e0e350a8af3a3de6 100644 (file)
@@ -1888,9 +1888,7 @@ boolean Request(char *text, unsigned int req_state)
        {
          if (event.type == EVENT_MOTIONNOTIFY)
          {
-           int win_x, win_y;
-
-           if (!QueryPointer(window, &win_x, &win_y))
+           if (!PointerInWindow(window))
              continue; /* window and pointer are on different screens */
 
            if (!button_status)