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
c035ddea
Commit
c035ddea
authored
Dec 31, 2020
by
Ulrich Sibiller
Committed by
Mike Gabriel
Jan 15, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nxagent: make nxagentForceSynchronization a Boolean
parent
5d7b6db0
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
6 deletions
+6
-6
Drawable.c
nx-X11/programs/Xserver/hw/nxagent/Drawable.c
+1
-1
Drawable.h
nx-X11/programs/Xserver/hw/nxagent/Drawable.h
+1
-1
Events.c
nx-X11/programs/Xserver/hw/nxagent/Events.c
+1
-1
Handlers.c
nx-X11/programs/Xserver/hw/nxagent/Handlers.c
+2
-2
Keystroke.c
nx-X11/programs/Xserver/hw/nxagent/Keystroke.c
+1
-1
No files found.
nx-X11/programs/Xserver/hw/nxagent/Drawable.c
View file @
c035ddea
...
...
@@ -99,7 +99,7 @@ int nxagentCorruptedPixmaps = 0;
int
nxagentCorruptedWindows
=
0
;
int
nxagentCorruptedBackgrounds
=
0
;
int
nxagentForceSynchronization
=
0
;
Bool
nxagentForceSynchronization
=
False
;
_nxagentSynchronizationRec
nxagentSynchronization
=
{
(
DrawablePtr
)
NULL
,
0
,
0
,
0
,
0
,
0
};
...
...
nx-X11/programs/Xserver/hw/nxagent/Drawable.h
View file @
c035ddea
...
...
@@ -157,7 +157,7 @@ extern int nxagentCorruptedPixmaps;
extern
int
nxagentCorruptedWindows
;
extern
int
nxagentCorruptedBackgrounds
;
extern
int
nxagentForceSynchronization
;
extern
Bool
nxagentForceSynchronization
;
extern
RegionPtr
nxagentCreateRegion
(
DrawablePtr
pDrawable
,
GCPtr
pGC
,
int
x
,
int
y
,
int
width
,
int
height
);
...
...
nx-X11/programs/Xserver/hw/nxagent/Events.c
View file @
c035ddea
...
...
@@ -660,7 +660,7 @@ static void nxagentSwitchDeferMode(void)
{
nxagentLaunchDialog
(
DIALOG_DISABLE_DEFER_MODE
);
nxagentForceSynchronization
=
1
;
nxagentForceSynchronization
=
True
;
}
}
...
...
nx-X11/programs/Xserver/hw/nxagent/Handlers.c
View file @
c035ddea
...
...
@@ -310,7 +310,7 @@ void nxagentBlockHandler(void * data, struct timeval **timeout, void * mask)
* operation.
*/
if
(
nxagentForceSynchronization
==
1
)
if
(
nxagentForceSynchronization
)
{
#ifdef TEST
fprintf
(
stderr
,
"nxagentBlockHandler: Going to force a synchronization at %s.
\n
"
,
...
...
@@ -319,7 +319,7 @@ void nxagentBlockHandler(void * data, struct timeval **timeout, void * mask)
nxagentSynchronizationLoop
(
NEVER_BREAK
);
nxagentForceSynchronization
=
0
;
nxagentForceSynchronization
=
False
;
}
else
if
(
nxagentUserInput
(
NULL
)
==
0
&&
!
nxagentBlocking
&&
...
...
nx-X11/programs/Xserver/hw/nxagent/Keystroke.c
View file @
c035ddea
...
...
@@ -624,7 +624,7 @@ Bool nxagentCheckSpecialKeystroke(XKeyEvent *X, enum HandleEventResult *result)
return
True
;
break
;
case
KEYSTROKE_FORCE_SYNCHRONIZATION
:
nxagentForceSynchronization
=
1
;
nxagentForceSynchronization
=
True
;
break
;
#ifdef DUMP
case
KEYSTROKE_REGIONS_ON_SCREEN
:
...
...
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