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
2a92ed0f
You need to sign in or sign up before continuing.
Commit
2a92ed0f
authored
May 25, 2020
by
Ulrich Sibiller
Committed by
Mike Gabriel
Oct 17, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Window.c: -reportprivatewids reports root window as such
and not as a "private" window like all others.
parent
2ada71fb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
4 deletions
+14
-4
Window.c
nx-X11/programs/Xserver/hw/nxagent/Window.c
+14
-4
No files found.
nx-X11/programs/Xserver/hw/nxagent/Window.c
View file @
2a92ed0f
...
@@ -401,13 +401,18 @@ Bool nxagentCreateWindow(WindowPtr pWin)
...
@@ -401,13 +401,18 @@ Bool nxagentCreateWindow(WindowPtr pWin)
if
(
nxagentReportPrivateWindowIds
)
if
(
nxagentReportPrivateWindowIds
)
{
{
fprintf
(
stderr
,
"NXAGENT_WINDOW_ID: PRIVATE_WINDOW,WID:[0x%x],INT:[0x%x]
\n
"
,
nxagentWindowPriv
(
pWin
)
->
window
,
pWin
->
drawable
.
id
);
fprintf
(
stderr
,
"NXAGENT_WINDOW_ID: %s_WINDOW,WID:[0x%x],INT:[0x%x]
\n
"
,
(
pWin
->
drawable
.
id
==
pWin
->
drawable
.
pScreen
->
root
->
drawable
.
id
)
?
"ROOT"
:
"PRIVATE"
,
nxagentWindowPriv
(
pWin
)
->
window
,
pWin
->
drawable
.
id
);
}
}
#ifdef DEBUG
#ifdef DEBUG
{
{
char
*
winname
=
NULL
;
char
*
winname
=
NULL
;
if
(
-
1
!=
asprintf
(
&
winname
,
"%s Private[0x%lx]"
,
nxagentWindowName
,
pWin
->
drawable
.
id
))
if
(
-
1
!=
asprintf
(
&
winname
,
"%s %s[0x%lx]"
,
nxagentWindowName
,
(
pWin
->
drawable
.
id
==
pWin
->
drawable
.
pScreen
->
root
->
drawable
.
id
)
?
"Root"
:
"Private"
,
pWin
->
drawable
.
id
))
{
{
Xutf8SetWMProperties
(
nxagentDisplay
,
nxagentWindowPriv
(
pWin
)
->
window
,
Xutf8SetWMProperties
(
nxagentDisplay
,
nxagentWindowPriv
(
pWin
)
->
window
,
winname
,
winname
,
NULL
,
0
,
NULL
,
NULL
,
NULL
);
winname
,
winname
,
NULL
,
0
,
NULL
,
NULL
,
NULL
);
...
@@ -3006,13 +3011,18 @@ static void nxagentReconnectWindow(void * param0, XID param1, void * data_buffer
...
@@ -3006,13 +3011,18 @@ static void nxagentReconnectWindow(void * param0, XID param1, void * data_buffer
if
(
nxagentReportPrivateWindowIds
)
if
(
nxagentReportPrivateWindowIds
)
{
{
fprintf
(
stderr
,
"NXAGENT_WINDOW_ID: PRIVATE_WINDOW,WID:[0x%x],INT:[0x%x]
\n
"
,
nxagentWindowPriv
(
pWin
)
->
window
,
pWin
->
drawable
.
id
);
fprintf
(
stderr
,
"NXAGENT_WINDOW_ID: %s_WINDOW,WID:[0x%x],INT:[0x%x]
\n
"
,
(
pWin
->
drawable
.
id
==
pWin
->
drawable
.
pScreen
->
root
->
drawable
.
id
)
?
"ROOT"
:
"PRIVATE"
,
nxagentWindowPriv
(
pWin
)
->
window
,
pWin
->
drawable
.
id
);
}
}
#ifdef DEBUG
#ifdef DEBUG
{
{
char
*
winname
=
NULL
;
char
*
winname
=
NULL
;
if
(
-
1
!=
asprintf
(
&
winname
,
"%s Private[0x%lx]"
,
nxagentWindowName
,
pWin
->
drawable
.
id
))
if
(
-
1
!=
asprintf
(
&
winname
,
"%s %s[0x%lx]"
,
nxagentWindowName
,
(
pWin
->
drawable
.
id
==
pWin
->
drawable
.
pScreen
->
root
->
drawable
.
id
)
?
"Root"
:
"Private"
,
pWin
->
drawable
.
id
))
{
{
Xutf8SetWMProperties
(
nxagentDisplay
,
nxagentWindowPriv
(
pWin
)
->
window
,
Xutf8SetWMProperties
(
nxagentDisplay
,
nxagentWindowPriv
(
pWin
)
->
window
,
winname
,
winname
,
NULL
,
0
,
NULL
,
NULL
,
NULL
);
winname
,
winname
,
NULL
,
0
,
NULL
,
NULL
,
NULL
);
...
...
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