diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2020-04-23 21:07:52 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-05-07 14:58:17 +0200 |
commit | fb6e43e30f011c6b40932d148f2162e6a08a1584 (patch) | |
tree | 479b328dc265bfa48b2d2f5e70c8418bdcecc0c7 | |
parent | 0a714774742dd37295d39680934db1aefbfc0957 (diff) | |
download | nx-libs-fb6e43e30f011c6b40932d148f2162e6a08a1584.tar.gz nx-libs-fb6e43e30f011c6b40932d148f2162e6a08a1584.tar.bz2 nx-libs-fb6e43e30f011c6b40932d148f2162e6a08a1584.zip |
Rootless.c: add some comments
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Rootless.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Rootless.c b/nx-X11/programs/Xserver/hw/nxagent/Rootless.c index b0fda2fa2..c62db115a 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Rootless.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Rootless.c @@ -417,6 +417,11 @@ int nxagentExportAllProperty(WindowPtr pWin) return total; } +/* + * Export a property from an agent window to the corresponding window + * on the real X server This is e.g. called if a client changes a + * property. + */ int nxagentExportProperty(WindowPtr pWin, Atom property, Atom type, @@ -792,6 +797,11 @@ int nxagentExportProperty(WindowPtr pWin, return export; } +/* + * Import a property from the proxy window on the real X server into + * the agent's corresponding window. This is e.g. called on reception + * of a property change event on the real X server. + */ void nxagentImportProperty(Window window, XlibAtom property, XlibAtom type, @@ -842,6 +852,7 @@ void nxagentImportProperty(Window window, /* * We settle a property size limit of 256K beyond which we simply * ignore them. + * FIXME: where's this checked/set/enforced/whatever? */ Atom typeL = nxagentRemoteToLocalAtom(type); |