From e01b9177b41f7d27a934d41fa38d550fa0026b45 Mon Sep 17 00:00:00 2001 From: Reinhard Tartler Date: Mon, 10 Oct 2011 17:59:01 +0200 Subject: Imported nxagent-3.5.0-5.tar.gz Summary: Imported nxagent-3.5.0-5.tar.gz Keywords: Imported nxagent-3.5.0-5.tar.gz into Git repository --- nx-X11/programs/Xserver/hw/nxagent/Cursor.c | 26 +------------------------- 1 file changed, 1 insertion(+), 25 deletions(-) (limited to 'nx-X11/programs/Xserver/hw/nxagent/Cursor.c') diff --git a/nx-X11/programs/Xserver/hw/nxagent/Cursor.c b/nx-X11/programs/Xserver/hw/nxagent/Cursor.c index 9ed7c233f..e27415b91 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Cursor.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Cursor.c @@ -293,31 +293,7 @@ void nxagentRecolorCursor(ScreenPtr pScreen, CursorPtr pCursor, Bool nxagentSetCursorPosition(ScreenPtr pScreen, int x, int y, Bool generateEvent) { - /* - * Don't warp the cursor if the requesting client - * is the server client itself or a shadow agent. - */ - - if (requestingClient != NULL && - requestingClient != serverClient && - nxagentClientHint(requestingClient) != NXAGENT_SHADOW) - { - int i; - - #ifdef TEST - fprintf(stderr, "nxagentSetCursorPosition: Moving the cursor at position [%d,%d].\n", - x, y); - #endif - - for (i = 0; i < nxagentNumScreens; i++) - { - XWarpPointer(nxagentDisplay, nxagentDefaultWindows[i], - nxagentDefaultWindows[pScreen->myNum], - 0, 0, 0, 0, x, y); - } - } - - return True; + return 1; } void nxagentReconnectCursor(pointer p0, XID x1, pointer p2) -- cgit v1.2.3