diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2024-04-01 19:36:14 +0200 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2024-04-01 19:40:17 +0200 |
commit | c2682cf299aef5f79cf53f7d905459aa371769af (patch) | |
tree | 788bf6c2a6624c592548ec778c3972a21f0e5130 /nx-X11/programs/Xserver/hw/nxagent | |
parent | 77477916ec895495a96ddfae0392d936710441da (diff) | |
download | nx-libs-c2682cf299aef5f79cf53f7d905459aa371769af.tar.gz nx-libs-c2682cf299aef5f79cf53f7d905459aa371769af.tar.bz2 nx-libs-c2682cf299aef5f79cf53f7d905459aa371769af.zip |
NXevents.c: add/improve comments
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/NXevents.c | 11 |
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)) |