From baf3feb86daf60c610bcaf4641cc4dd3924a226b Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Fri, 4 Jan 2013 07:11:58 +0100 Subject: [PATCH] Removed panning hack only needed by Xxf86vm. --- src/x11_window.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/x11_window.c b/src/x11_window.c index 753a826a..7fb7747a 100644 --- a/src/x11_window.c +++ b/src/x11_window.c @@ -400,13 +400,6 @@ static void enterFullscreenMode(_GLFWwindow* window) XResizeWindow(_glfw.x11.display, window->x11.handle, 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); }