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
b44ecc0f
You need to sign in or sign up before continuing.
Commit
b44ecc0f
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: nxagent(Default)WindowIsVisible() are Booleans
parent
d78837ec
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
Drawable.c
nx-X11/programs/Xserver/hw/nxagent/Drawable.c
+1
-1
GCOps.c
nx-X11/programs/Xserver/hw/nxagent/GCOps.c
+2
-2
Image.c
nx-X11/programs/Xserver/hw/nxagent/Image.c
+2
-2
Pixels.h
nx-X11/programs/Xserver/hw/nxagent/Pixels.h
+2
-2
No files found.
nx-X11/programs/Xserver/hw/nxagent/Drawable.c
View file @
b44ecc0f
...
@@ -2309,7 +2309,7 @@ void nxagentCorruptedRegionOnWindow(void *p0, XID x, void *p2)
...
@@ -2309,7 +2309,7 @@ void nxagentCorruptedRegionOnWindow(void *p0, XID x, void *p2)
* The window is not visible.
* The window is not visible.
*/
*/
if
(
nxagentWindowIsVisible
(
pWin
)
==
0
)
if
(
!
nxagentWindowIsVisible
(
pWin
)
)
{
{
return
;
return
;
}
}
...
...
nx-X11/programs/Xserver/hw/nxagent/GCOps.c
View file @
b44ecc0f
...
@@ -699,8 +699,8 @@ RegionPtr nxagentCopyArea(DrawablePtr pSrcDrawable, DrawablePtr pDstDrawable,
...
@@ -699,8 +699,8 @@ RegionPtr nxagentCopyArea(DrawablePtr pSrcDrawable, DrawablePtr pDstDrawable,
*/
*/
if
(
!
nxagentOption
(
IgnoreVisibility
)
&&
pDstDrawable
->
type
==
DRAWABLE_WINDOW
&&
if
(
!
nxagentOption
(
IgnoreVisibility
)
&&
pDstDrawable
->
type
==
DRAWABLE_WINDOW
&&
(
nxagentWindowIsVisible
((
WindowPtr
)
pDstDrawable
)
==
0
||
(
!
nxagentWindowIsVisible
((
WindowPtr
)
pDstDrawable
)
||
(
nxagentDefaultWindowIsVisible
()
==
0
&&
nxagentCompositeEnable
==
0
)))
(
!
nxagentDefaultWindowIsVisible
()
&&
nxagentCompositeEnable
==
0
)))
{
{
#ifdef TEST
#ifdef TEST
fprintf
(
stderr
,
"nxagentCopyArea: Prevented operation on fully obscured window at [%p].
\n
"
,
fprintf
(
stderr
,
"nxagentCopyArea: Prevented operation on fully obscured window at [%p].
\n
"
,
...
...
nx-X11/programs/Xserver/hw/nxagent/Image.c
View file @
b44ecc0f
...
@@ -525,8 +525,8 @@ void nxagentPutImage(DrawablePtr pDrawable, GCPtr pGC, int depth,
...
@@ -525,8 +525,8 @@ void nxagentPutImage(DrawablePtr pDrawable, GCPtr pGC, int depth,
*/
*/
if
(
!
nxagentOption
(
IgnoreVisibility
)
&&
pDrawable
->
type
==
DRAWABLE_WINDOW
&&
if
(
!
nxagentOption
(
IgnoreVisibility
)
&&
pDrawable
->
type
==
DRAWABLE_WINDOW
&&
(
nxagentWindowIsVisible
((
WindowPtr
)
pDrawable
)
==
0
||
(
!
nxagentWindowIsVisible
((
WindowPtr
)
pDrawable
)
||
(
nxagentDefaultWindowIsVisible
()
==
0
&&
nxagentCompositeEnable
==
0
)))
(
!
nxagentDefaultWindowIsVisible
()
&&
nxagentCompositeEnable
==
0
)))
{
{
#ifdef TEST
#ifdef TEST
...
...
nx-X11/programs/Xserver/hw/nxagent/Pixels.h
View file @
b44ecc0f
...
@@ -173,8 +173,8 @@ FIXME: Changed macro: NXAGENT_SHOULD_DEFER_COMPOSITE
...
@@ -173,8 +173,8 @@ FIXME: Changed macro: NXAGENT_SHOULD_DEFER_COMPOSITE
*/
*/
#define NXAGENT_SHOULD_SYNCHRONIZE_WINDOW(pDrawable) \
#define NXAGENT_SHOULD_SYNCHRONIZE_WINDOW(pDrawable) \
(nxagentWindowIsVisible((WindowPtr) pDrawable)
== 1
&& \
(nxagentWindowIsVisible((WindowPtr) pDrawable) && \
(nxagentDefaultWindowIsVisible()
== 1
|| nxagentCompositeEnable == 1))
(nxagentDefaultWindowIsVisible() || nxagentCompositeEnable == 1))
#define MINIMUM_PIXMAP_USAGE_COUNTER 2
#define MINIMUM_PIXMAP_USAGE_COUNTER 2
...
...
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