aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/NXevents.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/NXevents.c b/nx-X11/programs/Xserver/hw/nxagent/NXevents.c
index aca46e10a..68fb3f412 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/NXevents.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/NXevents.c
@@ -278,12 +278,13 @@ ProcAllowEvents(register ClientPtr client)
/*
* called from XYToWindow to determine where XYToWindow() should start
* going through the list.
+ * XYWINDOWCALLBACK needs to be defined for this to work, see dix/events.c.
+ * It is called from XYtoWindow().
*/
static WindowPtr
GetXYStartWindow(WindowPtr pWin)
{
-
if (nxagentOption(Rootless))
{
/*
@@ -349,10 +350,10 @@ CheckMotion(xEvent *xE)
#ifdef NXAGENT_SERVER
/*
- * This code force cursor position to be inside the
- * root window of the agent. We can't view a reason
- * to do this and it interacts in an undesirable way
- * with toggling fullscreen.
+ * This code forces the cursor position to be inside the root
+ * window of the agent. We can't view a reason to do this and
+ * it interacts in an undesirable way with toggling
+ * fullscreen.
*
* if ((sprite.hotPhys.x != XE_KBPTR.rootX) ||
* (sprite.hotPhys.y != XE_KBPTR.rootY))