Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nx-libs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dimbor
nx-libs
Commits
5067b169
Commit
5067b169
authored
Oct 22, 2019
by
Ulrich Sibiller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cursor.c: reformat comments
parent
ace3d2d8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
15 deletions
+9
-15
Cursor.c
nx-X11/programs/Xserver/hw/nxagent/Cursor.c
+9
-15
No files found.
nx-X11/programs/Xserver/hw/nxagent/Cursor.c
View file @
5067b169
...
...
@@ -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
* c
auses a c
rash in miPoiterUpdate().
* Calling miSetCursorPosition with generateEvent == 0
causes a
* crash in miPoiterUpdate().
*/
return
1
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment