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
78352049
Commit
78352049
authored
Feb 19, 2020
by
Ulrich Sibiller
Committed by
Mike Gabriel
May 07, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Client.c: use nxagentClientHint macro everywhere
parent
0d9d2128
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Client.c
nx-X11/programs/Xserver/hw/nxagent/Client.c
+4
-4
No files found.
nx-X11/programs/Xserver/hw/nxagent/Client.c
View file @
78352049
...
...
@@ -130,7 +130,7 @@ void nxagentGuessClientHint(ClientPtr client, Atom property, char *data)
client
->
index
,
validateString
(
NameForAtom
(
property
)),
validateString
(
data
));
#endif
if
(
nxagentClient
Priv
(
client
)
->
clientHint
==
UNKNOWN
)
if
(
nxagentClient
Hint
(
client
)
==
UNKNOWN
)
{
if
(
property
==
XA_WM_CLASS
)
{
...
...
@@ -153,7 +153,7 @@ void nxagentGuessClientHint(ClientPtr client, Atom property, char *data)
}
}
if
(
nxagentClient
Priv
(
client
)
->
clientHint
==
NXCLIENT_WINDOW
)
if
(
nxagentClient
Hint
(
client
)
==
NXCLIENT_WINDOW
)
{
if
(
property
==
MakeAtom
(
"WM_WINDOW_ROLE"
,
14
,
True
)
&&
strncmp
(
data
,
"msgBox"
,
6
)
==
0
)
...
...
@@ -175,7 +175,7 @@ void nxagentGuessShadowHint(ClientPtr client, Atom property)
validateString
(
NameForAtom
(
property
)));
#endif
if
(
nxagentClient
Priv
(
client
)
->
clientHint
==
UNKNOWN
)
if
(
nxagentClient
Hint
(
client
)
==
UNKNOWN
)
{
if
(
strcmp
(
validateString
(
NameForAtom
(
property
)),
"_NX_SHADOW"
)
==
0
)
{
...
...
@@ -209,7 +209,7 @@ void nxagentGuessShadowHint(ClientPtr client, Atom property)
void
nxagentCheckIfShadowAgent
(
ClientPtr
client
)
{
if
(
nxagentClient
Priv
(
client
)
->
clientHint
==
NXAGENT_SHADOW
)
if
(
nxagentClient
Hint
(
client
)
==
NXAGENT_SHADOW
)
{
#ifdef TEST
fprintf
(
stderr
,
"nxagentCheckIfShadowAgent: nxagentShadowCounter [%d].
\n
"
,
...
...
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