Reverted Luke's XWarpPointer change

This commit is contained in:
Elias Naur 2002-11-29 11:51:10 +00:00
parent f856619f1f
commit 9055e992e9
1 changed files with 1 additions and 2 deletions

View File

@ -132,7 +132,6 @@ int grabPointer(void) {
int result;
int mask = EnterWindowMask | LeaveWindowMask | PointerMotionMask | ButtonPressMask | ButtonReleaseMask;
if (current_fullscreen) {
XWarpPointer(disp, None, win, 0, 0, 0, 0, 0, 0);
result = XGrabPointer(disp, win, False, mask, GrabModeAsync, GrabModeAsync, win, blank_cursor, CurrentTime);
XF86VidModeSetViewPort(disp, screen, 0, 0); // make sure we have a centered window
} else
@ -340,4 +339,4 @@ JNIEXPORT void JNICALL Java_org_lwjgl_input_Mouse_nPoll
JNIEXPORT jint JNICALL Java_org_lwjgl_input_Mouse_nEnableBuffer
(JNIEnv * env, jclass clazz) {
printf("*** FIXME: nEnableBuffer not implemented!\n*");
}
}