Browse Source

Removed panning hack only needed by Xxf86vm.

Camilla Berglund 12 years ago
parent
commit
baf3feb86d
1 changed files with 0 additions and 7 deletions
  1. 0 7
      src/x11_window.c

+ 0 - 7
src/x11_window.c

@@ -400,13 +400,6 @@ static void enterFullscreenMode(_GLFWwindow* window)
         XResizeWindow(_glfw.x11.display, window->x11.handle,
         XResizeWindow(_glfw.x11.display, window->x11.handle,
                       window->width, window->height);
                       window->width, window->height);
     }
     }
-
-    // HACK: Try to get window inside viewport (for virtual displays) by moving
-    // the cursor to the upper left corner (and then to the center)
-    // This hack should be harmless on saner systems as well
-    XWarpPointer(_glfw.x11.display, None, window->x11.handle, 0,0,0,0, 0,0);
-    XWarpPointer(_glfw.x11.display, None, window->x11.handle, 0,0,0,0,
-                 window->width / 2, window->height / 2);
 }
 }