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
1b91c8ac
Commit
1b91c8ac
authored
Dec 30, 2020
by
Ulrich Sibiller
Committed by
Mike Gabriel
Jan 15, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
GCOps.c: make internal function Boolean
parent
4303b113
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
GCOps.c
nx-X11/programs/Xserver/hw/nxagent/GCOps.c
+6
-6
No files found.
nx-X11/programs/Xserver/hw/nxagent/GCOps.c
View file @
1b91c8ac
...
...
@@ -211,18 +211,18 @@ RegionPtr nxagentBitBlitHelper(GC *pGC)
* redirect property.
*/
int
nxagentWindowIsPopup
(
DrawablePtr
pDrawable
)
Bool
nxagentWindowIsPopup
(
DrawablePtr
pDrawable
)
{
if
(
pDrawable
->
type
!=
DRAWABLE_WINDOW
)
{
return
0
;
}
int
windowIsPopup
=
0
;
Bool
windowIsPopup
=
False
;
if
(((
WindowPtr
)
pDrawable
)
->
overrideRedirect
==
1
)
{
windowIsPopup
=
1
;
windowIsPopup
=
True
;
}
else
{
...
...
@@ -244,7 +244,7 @@ int nxagentWindowIsPopup(DrawablePtr pDrawable)
if
(
parent
->
overrideRedirect
==
1
)
{
windowIsPopup
=
1
;
windowIsPopup
=
True
;
break
;
}
...
...
@@ -254,7 +254,7 @@ int nxagentWindowIsPopup(DrawablePtr pDrawable)
#ifdef TEST
fprintf
(
stderr
,
"nxagentWindowIsPopup: Window [%p] %s to be a popup.
\n
"
,
(
void
*
)
pDrawable
,
windowIsPopup
==
1
?
"seems"
:
"does not seem"
);
windowIsPopup
?
"seems"
:
"does not seem"
);
#endif
return
windowIsPopup
;
...
...
@@ -285,7 +285,7 @@ FIXME: The popup could be synchronized with one single put image,
if
(
nxagentOption
(
DeferLevel
)
>=
2
&&
pSrcDrawable
->
type
==
DRAWABLE_PIXMAP
&&
nxagentPixmapContainTrapezoids
((
PixmapPtr
)
pSrcDrawable
)
==
1
&&
nxagentWindowIsPopup
(
pDstDrawable
)
==
1
)
nxagentWindowIsPopup
(
pDstDrawable
))
{
RegionPtr
pSrcRegion
=
nxagentCreateRegion
(
pSrcDrawable
,
NULL
,
srcx
,
srcy
,
width
,
height
);
...
...
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