diff options
author | marha <marha@users.sourceforge.net> | 2009-10-21 21:22:47 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2009-10-21 21:22:47 +0000 |
commit | e141b55eccf3c69d8ced513992e21463d37dbb03 (patch) | |
tree | eaeeeda04d5b6ce82d43d04466164b44a74d0951 /xorg-server/hw/dmx/doc/html/dmxprop_8c.html | |
parent | d0fe50e45b3a640afa51eb8f45cf7c3a0df0740b (diff) | |
parent | 1f876171067c04fc21fccd5a3051f982fd85c0f0 (diff) | |
download | vcxsrv-e141b55eccf3c69d8ced513992e21463d37dbb03.tar.gz vcxsrv-e141b55eccf3c69d8ced513992e21463d37dbb03.tar.bz2 vcxsrv-e141b55eccf3c69d8ced513992e21463d37dbb03.zip |
svn merge ^/branches/released
Diffstat (limited to 'xorg-server/hw/dmx/doc/html/dmxprop_8c.html')
-rw-r--r-- | xorg-server/hw/dmx/doc/html/dmxprop_8c.html | 465 |
1 files changed, 288 insertions, 177 deletions
diff --git a/xorg-server/hw/dmx/doc/html/dmxprop_8c.html b/xorg-server/hw/dmx/doc/html/dmxprop_8c.html index 6fa746b53..7bb916b5f 100644 --- a/xorg-server/hw/dmx/doc/html/dmxprop_8c.html +++ b/xorg-server/hw/dmx/doc/html/dmxprop_8c.html @@ -6,221 +6,332 @@ <link href="doxygen.css" rel="stylesheet" type="text/css"> </head> <body> -<!-- Generated by Doxygen 1.3.4 --> -<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a></div> -<h1>dmxprop.c File Reference</h1><code>#include "<a class="el" href="dmx_8h-source.html">dmx.h</a>"</code><br> -<code>#include "<a class="el" href="dmxprop_8h-source.html">dmxprop.h</a>"</code><br> -<code>#include "<a class="el" href="dmxlog_8h-source.html">dmxlog.h</a>"</code><br> -<table border=0 cellpadding=0 cellspacing=0> -<tr><td></td></tr> -<tr><td colspan=2><br><h2>Defines</h2></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="dmxprop_8c.html#a0">DMX_ATOMNAME</a> "DMX_NAME"</td></tr> - -<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="dmxprop_8c.html#a1">DMX_IDENT</a> "Xdmx"</td></tr> - -<tr><td colspan=2><br><h2>Functions</h2></td></tr> -<tr><td class="memItemLeft" nowrap align=right valign=top>void * </td><td class="memItemRight" valign=bottom><a class="el" href="dmxprop_8c.html#a5">dmxPropertyIterate</a> (<a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> *start, void *(*f)(<a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> *dmxScreen, void *), void *closure)</td></tr> +<!-- Generated by Doxygen 1.6.1 --> +<div class="navigation" id="top"> + <div class="tabs"> + <ul> + <li><a href="main.html"><span>Main Page</span></a></li> + <li><a href="annotated.html"><span>Data Structures</span></a></li> + <li class="current"><a href="files.html"><span>Files</span></a></li> + </ul> + </div> + <div class="tabs"> + <ul> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>Globals</span></a></li> + </ul> + </div> +</div> +<div class="contents"> +<h1>dmxprop.c File Reference</h1><code>#include "<a class="el" href="dmx_8h_source.html">dmx.h</a>"</code><br/> +<code>#include "<a class="el" href="dmxprop_8h_source.html">dmxprop.h</a>"</code><br/> +<code>#include "<a class="el" href="dmxlog_8h_source.html">dmxlog.h</a>"</code><br/> +<table border="0" cellpadding="0" cellspacing="0"> +<tr><td colspan="2"><h2>Defines</h2></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxprop_8c.html#aa5cb343dc33f4f7e12652ca1298a2ed8">DMX_ATOMNAME</a> "DMX_NAME"</td></tr> +<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxprop_8c.html#a15bb16a878f80c6c8a7aec68aadf3444">DMX_IDENT</a> "Xdmx"</td></tr> +<tr><td colspan="2"><h2>Functions</h2></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxprop_8c.html#a45eb0051c6d317735f2bf3b64ddc43e1">dmxPropertyErrorHandler</a> (Display *dpy, XErrorEvent *ev)</td></tr> +<tr><td class="memItemLeft" align="right" valign="top">static const unsigned char * </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxprop_8c.html#a5393154b62783c7ff9cb657acbf73cca">dmxPropertyIdentifier</a> (void)</td></tr> +<tr><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxprop_8c.html#a1353800f90c3a1f46d453caa71a41ab6">dmxPropertyIterate</a> (<a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> *start, void *(*f)(<a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> *dmxScreen, void *), void *closure)</td></tr> +<tr><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxprop_8c.html#ab3eb5317487025c8ba44312f16d675f7">dmxPropertyCheckOtherServers</a> (<a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> *dmxScreen, Atom atom)</td></tr> +<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxprop_8c.html#a5e976d40a4af5d6cd99b69ead01d0dfb">dmxPropertyCheckOtherWindows</a> (<a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> *dmxScreen, Atom atom)</td></tr> +<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxprop_8c.html#a97a10defd6ace86dae6cf8c8765bf0de">dmxPropertyDisplay</a> (<a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> *dmxScreen)</td></tr> +<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxprop_8c.html#ad0a551002589f00b2bac2b081283bc83">dmxPropertySameDisplay</a> (<a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> *dmxScreen, const char *name)</td></tr> +<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxprop_8c.html#aa97527eeaaf0744a67a5c5d188daf8c2">dmxPropertyWindow</a> (<a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> *dmxScreen)</td></tr> +<tr><td colspan="2"><h2>Variables</h2></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxprop_8c.html#ac49dfab9200d48f835ce64819c4fc878">display</a></td></tr> +</table> +<hr/><a name="_details"></a><h2>Detailed Description</h2> +<p>It is possible for one of the DMX "backend displays" to actually be smaller than the dimensions of the backend X server. Therefore, it is possible for more than one of the DMX "backend displays" to be physically located on the same backend X server. This situation must be detected so that cursor motion can be handled in an expected fashion.</p> +<p>We could analyze the names used for the DMX "backend displays" (e.g., the names passed to the -display command-line parameter), but there are many possible names for a single X display, and failing to detect sameness leads to very unexpected results. Therefore, whenever the DMX server opens a window on a backend X server, a property value is queried and set on that backend to detect when another window is already open on that server.</p> +<p>Further, it is possible that two different DMX server instantiations both have windows on the same physical backend X server. This case is also detected so that pointer input is not taken from that particular backend X server.</p> +<p>The routines in this file handle the property management. </p> +<hr/><h2>Define Documentation</h2> +<a class="anchor" id="aa5cb343dc33f4f7e12652ca1298a2ed8"></a><!-- doxytag: member="dmxprop.c::DMX_ATOMNAME" ref="aa5cb343dc33f4f7e12652ca1298a2ed8" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define DMX_ATOMNAME "DMX_NAME"</td> + </tr> + </table> +</div> +<div class="memdoc"> +<p>Holds the window id of all DMX windows on the backend X server. </p> -<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="dmxprop_8c.html#a8">dmxPropertyDisplay</a> (<a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> *dmxScreen)</td></tr> +<p>Referenced by <a class="el" href="dmxprop_8c_source.html#l00229">dmxPropertyDisplay()</a>, <a class="el" href="dmxprop_8c_source.html#l00253">dmxPropertySameDisplay()</a>, and <a class="el" href="dmxprop_8c_source.html#l00315">dmxPropertyWindow()</a>.</p> -<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="dmxprop_8c.html#a9">dmxPropertySameDisplay</a> (<a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> *dmxScreen, const char *name)</td></tr> +</div> +</div> +<a class="anchor" id="a15bb16a878f80c6c8a7aec68aadf3444"></a><!-- doxytag: member="dmxprop.c::DMX_IDENT" ref="a15bb16a878f80c6c8a7aec68aadf3444" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define DMX_IDENT "Xdmx"</td> + </tr> + </table> +</div> +<div class="memdoc"> +<p>The identification string of this DMX server </p> -<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="dmxprop_8c.html#a10">dmxPropertyWindow</a> (<a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> *dmxScreen)</td></tr> +<p>Referenced by <a class="el" href="dmxprop_8c_source.html#l00122">dmxPropertyCheckOtherServers()</a>, and <a class="el" href="dmxprop_8c_source.html#l00079">dmxPropertyIdentifier()</a>.</p> -</table> -<hr><a name="_details"></a><h2>Detailed Description</h2> -It is possible for one of the DMX "backend displays" to actually be smaller than the dimensions of the backend X server. Therefore, it is possible for more than one of the DMX "backend displays" to be physically located on the same backend X server. This situation must be detected so that cursor motion can be handled in an expected fashion.<p> -We could analyze the names used for the DMX "backend displays" (e.g., the names passed to the -display command-line parameter), but there are many possible names for a single X display, and failing to detect sameness leads to very unexpected results. Therefore, whenever the DMX server opens a window on a backend X server, a property value is queried and set on that backend to detect when another window is already open on that server.<p> -Further, it is possible that two different DMX server instantiations both have windows on the same physical backend X server. This case is also detected so that pointer input is not taken from that particular backend X server.<p> -The routines in this file handle the property management.<hr><h2>Define Documentation</h2> -<a class="anchor" name="a0" doxytag="dmxprop.c::DMX_ATOMNAME" ></a><p> -<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> - <tr> - <td class="mdRow"> - <table cellpadding="0" cellspacing="0" border="0"> - <tr> - <td class="md" nowrap valign="top"> #define DMX_ATOMNAME "DMX_NAME" - </table> - </td> - </tr> -</table> -<table cellspacing=5 cellpadding=0 border=0> - <tr> - <td> - - </td> - <td> - -<p> -Holds the window id of all DMX windows on the backend X server. </td> - </tr> -</table> -<a class="anchor" name="a1" doxytag="dmxprop.c::DMX_IDENT" ></a><p> -<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> - <tr> - <td class="mdRow"> - <table cellpadding="0" cellspacing="0" border="0"> +</div> +</div> +<hr/><h2>Function Documentation</h2> +<a class="anchor" id="ab3eb5317487025c8ba44312f16d675f7"></a><!-- doxytag: member="dmxprop.c::dmxPropertyCheckOtherServers" ref="ab3eb5317487025c8ba44312f16d675f7" args="(DMXScreenInfo *dmxScreen, Atom atom)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> <tr> - <td class="md" nowrap valign="top"> #define DMX_IDENT "Xdmx" - </table> - </td> - </tr> -</table> -<table cellspacing=5 cellpadding=0 border=0> - <tr> - <td> - - </td> - <td> - -<p> -The identification string of this DMX server </td> - </tr> -</table> -<hr><h2>Function Documentation</h2> -<a class="anchor" name="a8" doxytag="dmxprop.c::dmxPropertyDisplay" ></a><p> -<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> - <tr> - <td class="mdRow"> - <table cellpadding="0" cellspacing="0" border="0"> + <td class="memname">static int dmxPropertyCheckOtherServers </td> + <td>(</td> + <td class="paramtype"><a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> * </td> + <td class="paramname"> <em>dmxScreen</em>, </td> + </tr> <tr> - <td class="md" nowrap valign="top"> int dmxPropertyDisplay </td> - <td class="md" valign="top">( </td> - <td class="md" nowrap valign="top"><a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> * </td> - <td class="mdname1" valign="top" nowrap> <em>dmxScreen</em> </td> - <td class="md" valign="top"> ) </td> - <td class="md" nowrap></td> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">Atom </td> + <td class="paramname"> <em>atom</em></td><td> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td><td><code> [static]</code></td> </tr> - </table> - </td> - </tr> -</table> -<table cellspacing=5 cellpadding=0 border=0> - <tr> - <td> - - </td> - <td> - -<p> -Returns 0 if this is the only Xdmx session on the display; 1 otherwise. </td> - </tr> -</table> -<a class="anchor" name="a5" doxytag="dmxprop.c::dmxPropertyIterate" ></a><p> -<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> - <tr> - <td class="mdRow"> - <table cellpadding="0" cellspacing="0" border="0"> +</div> +<div class="memdoc"> +<p>Returns 0 if this is the only Xdmx session on the display; 1 otherwise. </p> + +<p>References <a class="el" href="dmx_8h_source.html#l00099">_DMXScreenInfo::beDisplay</a>, <a class="el" href="dmxprop_8c_source.html#l00070">DMX_IDENT</a>, <a class="el" href="dmxlog_8c_source.html#l00183">dmxLogOutput()</a>, <a class="el" href="dmxlog_8c_source.html#l00207">dmxLogOutputWarning()</a>, <a class="el" href="dmxprop_8c_source.html#l00074">dmxPropertyErrorHandler()</a>, and <a class="el" href="dmx_8h_source.html#l00094">_DMXScreenInfo::name</a>.</p> + +<p>Referenced by <a class="el" href="dmxprop_8c_source.html#l00229">dmxPropertyDisplay()</a>.</p> + +</div> +</div> +<a class="anchor" id="a5e976d40a4af5d6cd99b69ead01d0dfb"></a><!-- doxytag: member="dmxprop.c::dmxPropertyCheckOtherWindows" ref="a5e976d40a4af5d6cd99b69ead01d0dfb" args="(DMXScreenInfo *dmxScreen, Atom atom)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> <tr> - <td class="md" nowrap valign="top"> void* dmxPropertyIterate </td> - <td class="md" valign="top">( </td> - <td class="md" nowrap valign="top"><a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> * </td> - <td class="mdname" nowrap> <em>start</em>, </td> + <td class="memname">static <a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a>* dmxPropertyCheckOtherWindows </td> + <td>(</td> + <td class="paramtype"><a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> * </td> + <td class="paramname"> <em>dmxScreen</em>, </td> </tr> <tr> + <td class="paramkey"></td> <td></td> + <td class="paramtype">Atom </td> + <td class="paramname"> <em>atom</em></td><td> </td> + </tr> + <tr> <td></td> - <td class="md" nowrap>void *(* </td> - <td class="mdname" nowrap> <em>f</em>)(<a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> *dmxScreen, void *), </td> + <td>)</td> + <td></td><td></td><td><code> [static]</code></td> </tr> + </table> +</div> +<div class="memdoc"> +<p>Returns NULL if this is the only Xdmx window on the display. Otherwise, returns a pointer to the dmxScreen of the other windows on the display. </p> + +<p>References <a class="el" href="dmx_8h_source.html#l00099">_DMXScreenInfo::beDisplay</a>, <a class="el" href="dmxlog_8h_source.html#l00043">dmxDebug</a>, <a class="el" href="dmxlog_8c_source.html#l00159">dmxLog()</a>, <a class="el" href="dmxinit_8c_source.html#l00083">dmxNumScreens</a>, <a class="el" href="dmxprop_8c_source.html#l00074">dmxPropertyErrorHandler()</a>, <a class="el" href="dmxprop_8c_source.html#l00079">dmxPropertyIdentifier()</a>, <a class="el" href="dmxinit_8c_source.html#l00084">dmxScreens</a>, and <a class="el" href="dmx_8h_source.html#l00094">_DMXScreenInfo::name</a>.</p> + +<p>Referenced by <a class="el" href="dmxprop_8c_source.html#l00315">dmxPropertyWindow()</a>.</p> + +</div> +</div> +<a class="anchor" id="a97a10defd6ace86dae6cf8c8765bf0de"></a><!-- doxytag: member="dmxprop.c::dmxPropertyDisplay" ref="a97a10defd6ace86dae6cf8c8765bf0de" args="(DMXScreenInfo *dmxScreen)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> <tr> + <td class="memname">int dmxPropertyDisplay </td> + <td>(</td> + <td class="paramtype"><a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> * </td> + <td class="paramname"> <em>dmxScreen</em></td> + <td> ) </td> <td></td> + </tr> + </table> +</div> +<div class="memdoc"> +<p>Returns 0 if this is the only Xdmx session on the display; 1 otherwise. </p> + +<p>References <a class="el" href="dmx_8h_source.html#l00099">_DMXScreenInfo::beDisplay</a>, <a class="el" href="dmxprop_8c_source.html#l00067">DMX_ATOMNAME</a>, <a class="el" href="dmxprop_8c_source.html#l00122">dmxPropertyCheckOtherServers()</a>, <a class="el" href="dmxprop_8c_source.html#l00079">dmxPropertyIdentifier()</a>, and <a class="el" href="dmx_8h_source.html#l00158">_DMXScreenInfo::shared</a>.</p> + +<p>Referenced by <a class="el" href="dmxinit_8c_source.html#l00195">dmxOpenDisplay()</a>.</p> + +</div> +</div> +<a class="anchor" id="a45eb0051c6d317735f2bf3b64ddc43e1"></a><!-- doxytag: member="dmxprop.c::dmxPropertyErrorHandler" ref="a45eb0051c6d317735f2bf3b64ddc43e1" args="(Display *dpy, XErrorEvent *ev)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">static int dmxPropertyErrorHandler </td> + <td>(</td> + <td class="paramtype">Display * </td> + <td class="paramname"> <em>dpy</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> <td></td> - <td class="md" nowrap>void * </td> - <td class="mdname" nowrap> <em>closure</em></td> + <td class="paramtype">XErrorEvent * </td> + <td class="paramname"> <em>ev</em></td><td> </td> </tr> <tr> <td></td> - <td class="md">) </td> - <td class="md" colspan="2"></td> + <td>)</td> + <td></td><td></td><td><code> [static]</code></td> </tr> + </table> +</div> +<div class="memdoc"> +<p>Referenced by <a class="el" href="dmxprop_8c_source.html#l00122">dmxPropertyCheckOtherServers()</a>, and <a class="el" href="dmxprop_8c_source.html#l00181">dmxPropertyCheckOtherWindows()</a>.</p> + +</div> +</div> +<a class="anchor" id="a5393154b62783c7ff9cb657acbf73cca"></a><!-- doxytag: member="dmxprop.c::dmxPropertyIdentifier" ref="a5393154b62783c7ff9cb657acbf73cca" args="(void)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">static const unsigned char* dmxPropertyIdentifier </td> + <td>(</td> + <td class="paramtype">void </td> + <td class="paramname"></td> + <td> ) </td> + <td><code> [static]</code></td> + </tr> </table> - </td> - </tr> -</table> -<table cellspacing=5 cellpadding=0 border=0> - <tr> - <td> - - </td> - <td> - -<p> -Starting with the <em>start</em> screen, iterate over all of the screens on the same physical X server as <em>start</em>, calling <em>f</em> with the screen and the <em>closure</em>. (The common case is that <em>start</em> is the only DMX window on the backend X server.) </td> - </tr> -</table> -<a class="anchor" name="a9" doxytag="dmxprop.c::dmxPropertySameDisplay" ></a><p> -<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> - <tr> - <td class="mdRow"> - <table cellpadding="0" cellspacing="0" border="0"> +</div> +<div class="memdoc"> + +<p>References <a class="el" href="dmxprop_8c.html#ac49dfab9200d48f835ce64819c4fc878">display</a>, and <a class="el" href="dmxprop_8c_source.html#l00070">DMX_IDENT</a>.</p> + +<p>Referenced by <a class="el" href="dmxprop_8c_source.html#l00181">dmxPropertyCheckOtherWindows()</a>, <a class="el" href="dmxprop_8c_source.html#l00229">dmxPropertyDisplay()</a>, and <a class="el" href="dmxprop_8c_source.html#l00315">dmxPropertyWindow()</a>.</p> + +</div> +</div> +<a class="anchor" id="a1353800f90c3a1f46d453caa71a41ab6"></a><!-- doxytag: member="dmxprop.c::dmxPropertyIterate" ref="a1353800f90c3a1f46d453caa71a41ab6" args="(DMXScreenInfo *start, void *(*f)(DMXScreenInfo *dmxScreen, void *), void *closure)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> <tr> - <td class="md" nowrap valign="top"> int dmxPropertySameDisplay </td> - <td class="md" valign="top">( </td> - <td class="md" nowrap valign="top"><a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> * </td> - <td class="mdname" nowrap> <em>dmxScreen</em>, </td> + <td class="memname">void* dmxPropertyIterate </td> + <td>(</td> + <td class="paramtype"><a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> * </td> + <td class="paramname"> <em>start</em>, </td> </tr> <tr> + <td class="paramkey"></td> <td></td> + <td class="paramtype">void *(*)(<a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> *dmxScreen, void *) </td> + <td class="paramname"> <em>f</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> <td></td> - <td class="md" nowrap>const char * </td> - <td class="mdname" nowrap> <em>name</em></td> + <td class="paramtype">void * </td> + <td class="paramname"> <em>closure</em></td><td> </td> </tr> <tr> <td></td> - <td class="md">) </td> - <td class="md" colspan="2"></td> + <td>)</td> + <td></td><td></td><td></td> </tr> + </table> +</div> +<div class="memdoc"> +<p>Starting with the <em>start</em> screen, iterate over all of the screens on the same physical X server as <em>start</em>, calling <em>f</em> with the screen and the <em>closure</em>. (The common case is that <em>start</em> is the only DMX window on the backend X server.) </p> + +<p>References <a class="el" href="dmx_8h_source.html#l00099">_DMXScreenInfo::beDisplay</a>, <a class="el" href="dmxlog_8h_source.html#l00043">dmxDebug</a>, <a class="el" href="dmxlog_8c_source.html#l00159">dmxLog()</a>, and <a class="el" href="dmx_8h_source.html#l00136">_DMXScreenInfo::next</a>.</p> +<p>Referenced by <a class="el" href="dmxbackend_8c_source.html#l00206">dmxBackendFindWindow()</a>, <a class="el" href="dmxbackend_8c_source.html#l00177">dmxBackendGetEvent()</a>, <a class="el" href="dmxbackend_8c_source.html#l00186">dmxBackendPendingMotionEvent()</a>, <a class="el" href="dmxbackend_8c_source.html#l00133">dmxBackendSameDisplay()</a>, <a class="el" href="dmxcommon_8c_source.html#l00504">dmxCommonMouOff()</a>, <a class="el" href="dmxcommon_8c_source.html#l00479">dmxCommonMouOn()</a>, and <a class="el" href="dmxcursor_8c_source.html#l00515">dmxInitOverlap()</a>.</p> + +</div> +</div> +<a class="anchor" id="ad0a551002589f00b2bac2b081283bc83"></a><!-- doxytag: member="dmxprop.c::dmxPropertySameDisplay" ref="ad0a551002589f00b2bac2b081283bc83" args="(DMXScreenInfo *dmxScreen, const char *name)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">int dmxPropertySameDisplay </td> + <td>(</td> + <td class="paramtype"><a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> * </td> + <td class="paramname"> <em>dmxScreen</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const char * </td> + <td class="paramname"> <em>name</em></td><td> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td><td></td> + </tr> </table> - </td> - </tr> -</table> -<table cellspacing=5 cellpadding=0 border=0> - <tr> - <td> - - </td> - <td> - -<p> -Returns 1 if the dmxScreen and the display in <em>name</em> are on the same display, or 0 otherwise. We can't just compare the display names because there can be multiple synonyms for the same display, some of which cannot be determined without accessing the display itself (e.g., domain aliases or machines with multiple NICs). </td> - </tr> -</table> -<a class="anchor" name="a10" doxytag="dmxprop.c::dmxPropertyWindow" ></a><p> -<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> - <tr> - <td class="mdRow"> - <table cellpadding="0" cellspacing="0" border="0"> +</div> +<div class="memdoc"> +<p>Returns 1 if the dmxScreen and the display in <em>name</em> are on the same display, or 0 otherwise. We can't just compare the display names because there can be multiple synonyms for the same display, some of which cannot be determined without accessing the display itself (e.g., domain aliases or machines with multiple NICs). </p> + +<p>References <a class="el" href="dmx_8h_source.html#l00099">_DMXScreenInfo::beDisplay</a>, <a class="el" href="dmxprop_8c_source.html#l00067">DMX_ATOMNAME</a>, <a class="el" href="dmxlog_8h_source.html#l00043">dmxDebug</a>, <a class="el" href="dmxlog_8c_source.html#l00159">dmxLog()</a>, <a class="el" href="dmxlog_8h_source.html#l00045">dmxWarning</a>, and <a class="el" href="dmx_8h_source.html#l00094">_DMXScreenInfo::name</a>.</p> + +<p>Referenced by <a class="el" href="dmxbackend_8c_source.html#l00508">dmxBackendInitPrivate()</a>, and <a class="el" href="dmxinputinit_8c_source.html#l00962">dmxInputInit()</a>.</p> + +</div> +</div> +<a class="anchor" id="aa97527eeaaf0744a67a5c5d188daf8c2"></a><!-- doxytag: member="dmxprop.c::dmxPropertyWindow" ref="aa97527eeaaf0744a67a5c5d188daf8c2" args="(DMXScreenInfo *dmxScreen)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> <tr> - <td class="md" nowrap valign="top"> void dmxPropertyWindow </td> - <td class="md" valign="top">( </td> - <td class="md" nowrap valign="top"><a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> * </td> - <td class="mdname1" valign="top" nowrap> <em>dmxScreen</em> </td> - <td class="md" valign="top"> ) </td> - <td class="md" nowrap></td> + <td class="memname">void dmxPropertyWindow </td> + <td>(</td> + <td class="paramtype"><a class="el" href="struct__DMXScreenInfo.html">DMXScreenInfo</a> * </td> + <td class="paramname"> <em>dmxScreen</em></td> + <td> ) </td> + <td></td> </tr> + </table> +</div> +<div class="memdoc"> +<p>Prints a log message if <em>dmxScreen</em> is on the same backend X server as some other DMX backend (output) screen. Modifies the property (<a class="el" href="dmxprop_8c.html#aa5cb343dc33f4f7e12652ca1298a2ed8">DMX_ATOMNAME</a>) on the backend X server to reflect the creation of <em>dmxScreen</em>.</p> +<p>The root window of the backend X server holds a list of window ids for all DMX windows (on this DMX server or some other DMX server).</p> +<p>This list can then be iterated, and the property for each window can be examined. This property contains the following tuple (no quotes):</p> +<p>"#DMX_IDENT:<hostname running DMX>:<display name of DMX>,<screen number>" </p> + +<p>References <a class="el" href="dmx_8h_source.html#l00099">_DMXScreenInfo::beDisplay</a>, <a class="el" href="dmxprop_8c_source.html#l00067">DMX_ATOMNAME</a>, <a class="el" href="dmxlog_8h_source.html#l00043">dmxDebug</a>, <a class="el" href="dmxlog_8c_source.html#l00159">dmxLog()</a>, <a class="el" href="dmxprop_8c_source.html#l00181">dmxPropertyCheckOtherWindows()</a>, <a class="el" href="dmxprop_8c_source.html#l00079">dmxPropertyIdentifier()</a>, <a class="el" href="dmx_8h_source.html#l00095">_DMXScreenInfo::index</a>, <a class="el" href="dmx_8h_source.html#l00094">_DMXScreenInfo::name</a>, <a class="el" href="dmx_8h_source.html#l00136">_DMXScreenInfo::next</a>, and <a class="el" href="dmx_8h_source.html#l00125">_DMXScreenInfo::scrnWin</a>.</p> + +<p>Referenced by <a class="el" href="dmxscrinit_8c_source.html#l00090">dmxBEScreenInit()</a>.</p> +</div> +</div> +<hr/><h2>Variable Documentation</h2> +<a class="anchor" id="ac49dfab9200d48f835ce64819c4fc878"></a><!-- doxytag: member="dmxprop.c::display" ref="ac49dfab9200d48f835ce64819c4fc878" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">char* <a class="el" href="dmxprop_8c.html#ac49dfab9200d48f835ce64819c4fc878">display</a></td> + </tr> </table> - </td> - </tr> -</table> -<table cellspacing=5 cellpadding=0 border=0> - <tr> - <td> - - </td> - <td> - -<p> -Prints a log message if <em>dmxScreen</em> is on the same backend X server as some other DMX backend (output) screen. Modifies the property (<a class="el" href="dmxprop_8c.html#a0">DMX_ATOMNAME</a>) on the backend X server to reflect the creation of <em>dmxScreen</em>.<p> -The root window of the backend X server holds a list of window ids for all DMX windows (on this DMX server or some other DMX server).<p> -This list can then be iterated, and the property for each window can be examined. This property contains the following tuple (no quotes):<p> -"#DMX_IDENT:<hostname running DMX>:<display name of DMX>,<screen number>" </td> - </tr> -</table> +</div> +<div class="memdoc"> + +<p>Referenced by <a class="el" href="dmxcommon_8c_source.html#l00364">dmxCommonOthGetInfo()</a>, <a class="el" href="xdmxconfig_8c_source.html#l00496">dmxConfigCanvasInput()</a>, <a class="el" href="dmxinputinit_8c_source.html#l00835">dmxInputScanForExtensions()</a>, <a class="el" href="dmxprop_8c_source.html#l00079">dmxPropertyIdentifier()</a>, and <a class="el" href="dmxcompat_8c_source.html#l00111">dmxVDLRead()</a>.</p> + +</div> +</div> +</div> <hr> <address> <small> |