diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-05-30 21:28:03 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-06-30 16:21:00 +0200 |
commit | 588be6386adf9dd25bb942af9456d6c07eda4676 (patch) | |
tree | 8d46423c66f14e080ef534523c1c15032c03dc4d /nx-X11/programs/Xserver/hw/nxagent/Args.c | |
parent | c88e87bc8c6d4ee414533c28b600dff70f5ad62a (diff) | |
download | nx-libs-588be6386adf9dd25bb942af9456d6c07eda4676.tar.gz nx-libs-588be6386adf9dd25bb942af9456d6c07eda4676.tar.bz2 nx-libs-588be6386adf9dd25bb942af9456d6c07eda4676.zip |
hw/nxagent/Window.c: Introduce NX_REAL_WINDOW window property.
In nxagent sessions, all X11 clients have a representation of their NX
session-side window object on the real X-Server side.
The window object gets stored in the new NX_REAL_WINDOW window property
immediately after window creation. This mapping is created in
nxagentCreateWindow().
On session resumption, the client side window IDs normally change. Thus,
during session resumption, all NX_REAL_WINDOW properties require being
updated. This happens in nxagentReconnectWindow().
While a session is suspended, the NX_REAL_WINDOW property does not
exist. It gets removed during nxagentDisconnectWindow().
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Args.c')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Args.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Args.c b/nx-X11/programs/Xserver/hw/nxagent/Args.c index 5db7e0110..5d74f212c 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Args.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Args.c @@ -128,6 +128,7 @@ extern const char *__progname; char nxagentDisplayName[1024]; Bool nxagentSynchronize = False; +Bool nxagentRealWindowProp = False; char nxagentShadowDisplayName[1024] = {0}; @@ -404,6 +405,11 @@ int ddxProcessArgument(int argc, char *argv[], int i) return 1; } + if (!strcmp(argv[i], "-nxrealwindowprop")) { + nxagentRealWindowProp = True; + return 1; + } + if (!strcmp(argv[i], "-full")) { nxagentFullGeneration = True; return 1; |