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
acf3e21f
Commit
acf3e21f
authored
Dec 30, 2020
by
Ulrich Sibiller
Committed by
Mike Gabriel
Jan 15, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Drawable.c: make some variables Booleans
parent
f6b386e6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
Drawable.c
nx-X11/programs/Xserver/hw/nxagent/Drawable.c
+5
-5
No files found.
nx-X11/programs/Xserver/hw/nxagent/Drawable.c
View file @
acf3e21f
...
...
@@ -357,9 +357,9 @@ int nxagentSynchronizeRegion(DrawablePtr pDrawable, RegionPtr pRegion, unsigned
* full drawable.
*/
int
useStoredBitmap
=
(
nxagentDrawableBitmap
(
pDrawable
)
!=
NullPixmap
&&
pRegion
==
NullRegion
);
Bool
useStoredBitmap
=
(
nxagentDrawableBitmap
(
pDrawable
)
!=
NullPixmap
&&
pRegion
==
NullRegion
);
if
(
useStoredBitmap
!=
0
)
if
(
useStoredBitmap
)
{
#ifdef TEST
fprintf
(
stderr
,
"nxagentSynchronizeRegion: Drawable [%s] at [%p] has a synchronization bitmap at [%p] "
...
...
@@ -1023,7 +1023,7 @@ void nxagentSynchronizeDrawablePredicate(void *p0, XID x1, void *p2)
DrawablePtr
pDrawable
=
(
DrawablePtr
)
p0
;
unsigned
int
*
breakMask
=
(
unsigned
int
*
)
p2
;
int
shouldClearHiddenRegion
=
1
;
Bool
shouldClearHiddenRegion
=
True
;
/*
* The nxagentSynchronization.abort propagates a break condition
...
...
@@ -1104,7 +1104,7 @@ void nxagentSynchronizeDrawablePredicate(void *p0, XID x1, void *p2)
(
void
*
)
pDrawable
);
#endif
if
(
shouldClearHiddenRegion
==
1
)
if
(
shouldClearHiddenRegion
)
{
#ifdef TEST
fprintf
(
stderr
,
"nxagentSynchronizeDrawablePredicate: Clearing out the not visible window "
...
...
@@ -1180,7 +1180,7 @@ FIXME: This condition sounds only as a complication, as the break
*/
if
(
nxagentSynchronization
.
abort
==
0
&&
shouldClearHiddenRegion
==
1
)
shouldClearHiddenRegion
)
{
#ifdef TEST
fprintf
(
stderr
,
"nxagentSynchronizeDrawablePredicate: Clearing out the remaining corrupted "
...
...
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