aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Cursor.c
diff options
context:
space:
mode:
authorReinhard Tartler <siretart@tauware.de>2011-10-10 17:59:01 +0200
committerReinhard Tartler <siretart@tauware.de>2011-10-10 17:59:01 +0200
commite01b9177b41f7d27a934d41fa38d550fa0026b45 (patch)
treea5cbd3193d1a628272c244c4e50f8e0e685bdeb1 /nx-X11/programs/Xserver/hw/nxagent/Cursor.c
parent39b738a67a14dde67b2a811d56ac84934fcef52d (diff)
downloadnx-libs-e01b9177b41f7d27a934d41fa38d550fa0026b45.tar.gz
nx-libs-e01b9177b41f7d27a934d41fa38d550fa0026b45.tar.bz2
nx-libs-e01b9177b41f7d27a934d41fa38d550fa0026b45.zip
Imported nxagent-3.5.0-5.tar.gznxagent/3.5.0-5
Summary: Imported nxagent-3.5.0-5.tar.gz Keywords: Imported nxagent-3.5.0-5.tar.gz into Git repository
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Cursor.c')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Cursor.c26
1 files changed, 1 insertions, 25 deletions
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)