aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2019-10-22 22:56:08 +0200
committerUlrich Sibiller <uli42@gmx.de>2020-01-05 22:37:35 +0100
commit5067b1695fa38596526e72781bdd5391f4b316cf (patch)
treea683865d48b40c2589585e8ac3dae52cae318c7b /nx-X11/programs/Xserver/hw/nxagent
parentace3d2d89a4a3783aa6033f3bd9d4e38b48e11c9 (diff)
downloadnx-libs-5067b1695fa38596526e72781bdd5391f4b316cf.tar.gz
nx-libs-5067b1695fa38596526e72781bdd5391f4b316cf.tar.bz2
nx-libs-5067b1695fa38596526e72781bdd5391f4b316cf.zip
Cursor.c: reformat comments
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Cursor.c24
1 files changed, 9 insertions, 15 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Cursor.c b/nx-X11/programs/Xserver/hw/nxagent/Cursor.c
index 55abefffd..34672fef5 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Cursor.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Cursor.c
@@ -78,10 +78,8 @@ is" without express or implied warranty.
#undef DEBUG
/*
- * Defined in Display.c. There are huge
- * problems mixing the GC definition in
- * Xlib with the server code. This must
- * be reworked.
+ * Defined in Display.c. There are huge problems mixing the GC
+ * definition in Xlib with the server code. This must be reworked.
*/
extern XlibGC nxagentBitmapGC;
@@ -124,11 +122,9 @@ void nxagentCursorLimits(ScreenPtr pScreen, CursorPtr pCursor,
Bool nxagentDisplayCursor(ScreenPtr pScreen, CursorPtr pCursor)
{
-
/*
- * Don't define the root cursor
- * so that nxagent root window
- * inherits the parent's cursor.
+ * Don't define the root cursor so that nxagent root window inherits
+ * the parent's cursor.
*/
Cursor cursor = (pCursor != rootCursor) ? nxagentCursor(pCursor, pScreen): None;
@@ -191,11 +187,9 @@ Bool nxagentRealizeCursor(ScreenPtr pScreen, CursorPtr pCursor)
BitmapPad(nxagentDisplay), 0);
/*
- * If we used nxagentImageNormalize() here,
- * we'd swap our own cursor data in place.
- * Change byte_order and bitmap_bit_order
- * in the image struct to let Xlib do the
- * swap for us.
+ * If we used nxagentImageNormalize() here, we'd swap our own cursor
+ * data in place. Change byte_order and bitmap_bit_order in the
+ * image struct to let Xlib do the swap for us.
*/
image -> byte_order = IMAGE_BYTE_ORDER;
@@ -310,8 +304,8 @@ Bool nxagentSetCursorPosition(ScreenPtr pScreen, int x, int y,
else
{
/*
- * Calling miSetCursorPosition with generateEvent == 0
- * causes a crash in miPoiterUpdate().
+ * Calling miSetCursorPosition with generateEvent == 0 causes a
+ * crash in miPoiterUpdate().
*/
return 1;