aboutsummaryrefslogtreecommitdiff
path: root/nx-X11
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2020-02-19 00:07:35 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-05-07 14:57:21 +0200
commit7835204928959c644ca3b8fdcc20390adc713f1e (patch)
treeae5096f4f53b1b0fc6d8bcec04834ffcb7b6533f /nx-X11
parent0d9d21287cd3a7db7695efdb4ff85c53234536f2 (diff)
downloadnx-libs-7835204928959c644ca3b8fdcc20390adc713f1e.tar.gz
nx-libs-7835204928959c644ca3b8fdcc20390adc713f1e.tar.bz2
nx-libs-7835204928959c644ca3b8fdcc20390adc713f1e.zip
Client.c: use nxagentClientHint macro everywhere
Diffstat (limited to 'nx-X11')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Client.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Client.c b/nx-X11/programs/Xserver/hw/nxagent/Client.c
index 33841f436..1e4182599 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Client.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Client.c
@@ -130,7 +130,7 @@ void nxagentGuessClientHint(ClientPtr client, Atom property, char *data)
client -> index, validateString(NameForAtom(property)), validateString(data));
#endif
- if (nxagentClientPriv(client) -> clientHint == UNKNOWN)
+ if (nxagentClientHint(client) == UNKNOWN)
{
if (property == XA_WM_CLASS)
{
@@ -153,7 +153,7 @@ void nxagentGuessClientHint(ClientPtr client, Atom property, char *data)
}
}
- if (nxagentClientPriv(client) -> clientHint == NXCLIENT_WINDOW)
+ if (nxagentClientHint(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 (nxagentClientPriv(client) -> clientHint == UNKNOWN)
+ if (nxagentClientHint(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 (nxagentClientPriv(client) -> clientHint == NXAGENT_SHADOW)
+ if (nxagentClientHint(client) == NXAGENT_SHADOW)
{
#ifdef TEST
fprintf(stderr, "nxagentCheckIfShadowAgent: nxagentShadowCounter [%d].\n",