Commit fb6e43e3 authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

Rootless.c: add some comments

parent 0a714774
...@@ -417,6 +417,11 @@ int nxagentExportAllProperty(WindowPtr pWin) ...@@ -417,6 +417,11 @@ int nxagentExportAllProperty(WindowPtr pWin)
return total; 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, int nxagentExportProperty(WindowPtr pWin,
Atom property, Atom property,
Atom type, Atom type,
...@@ -792,6 +797,11 @@ int nxagentExportProperty(WindowPtr pWin, ...@@ -792,6 +797,11 @@ int nxagentExportProperty(WindowPtr pWin,
return export; 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, void nxagentImportProperty(Window window,
XlibAtom property, XlibAtom property,
XlibAtom type, XlibAtom type,
...@@ -842,6 +852,7 @@ void nxagentImportProperty(Window window, ...@@ -842,6 +852,7 @@ void nxagentImportProperty(Window window,
/* /*
* We settle a property size limit of 256K beyond which we simply * We settle a property size limit of 256K beyond which we simply
* ignore them. * ignore them.
* FIXME: where's this checked/set/enforced/whatever?
*/ */
Atom typeL = nxagentRemoteToLocalAtom(type); Atom typeL = nxagentRemoteToLocalAtom(type);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment