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
15843955
Commit
15843955
authored
Sep 24, 2018
by
Ulrich Sibiller
Committed by
Mike Gabriel
Oct 22, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Window.c: improve Bool usage
parent
7b8aef83
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
Window.c
nx-X11/programs/Xserver/hw/nxagent/Window.c
+5
-5
No files found.
nx-X11/programs/Xserver/hw/nxagent/Window.c
View file @
15843955
...
...
@@ -310,7 +310,7 @@ Bool nxagentCreateWindow(pWin)
/*
FIXME: We need to set save under on the real display?
*/
if
(
nxagentSaveUnder
==
True
)
if
(
nxagentSaveUnder
)
{
mask
|=
CWSaveUnder
;
attributes
.
save_under
=
False
;
...
...
@@ -749,7 +749,7 @@ void nxagentSwitchFullscreen(ScreenPtr pScreen, Bool switchOn)
return
;
}
if
(
switchOn
==
0
)
if
(
!
switchOn
)
{
nxagentWMDetect
();
...
...
@@ -793,7 +793,7 @@ void nxagentSwitchFullscreen(ScreenPtr pScreen, Bool switchOn)
XSendEvent
(
nxagentDisplay
,
DefaultRootWindow
(
nxagentDisplay
),
False
,
SubstructureRedirectMask
,
&
e
);
if
(
switchOn
==
1
)
if
(
switchOn
)
{
nxagentFullscreenWindow
=
nxagentDefaultWindows
[
pScreen
->
myNum
];
...
...
@@ -2683,7 +2683,7 @@ void nxagentDisconnectWindow(void * p0, XID x1, void * p2)
nxagentDisconnectCursor
(
pCursor
,
(
XID
)
0
,
pBool
);
if
(
*
pBool
==
False
)
if
(
!*
pBool
)
{
#ifdef WARNING
fprintf
(
stderr
,
"nxagentDisconnectWindow: WARNING failed disconnection of cursor at [%p]"
...
...
@@ -2937,7 +2937,7 @@ static void nxagentReconnectWindow(void * param0, XID param1, void * data_buffer
/*
FIXME: Do we need to set save unders attribute here?
*/
if
(
nxagentSaveUnder
==
True
)
if
(
nxagentSaveUnder
)
{
mask
|=
CWSaveUnder
;
attributes
.
save_under
=
pWin
->
saveUnder
;
...
...
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