Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > c67c6057ffd14254a26624517a2352e6 > files > 37

i3-doc-3.e-3.bf1.fc14.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>i3: include/client.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.2-20100208 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="annotated.html"><span>Data&nbsp;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&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>include/client.h File Reference</h1><code>#include &lt;xcb/xcb.h&gt;</code><br/>
<code>#include &quot;<a class="el" href="a00036_source.html">data.h</a>&quot;</code><br/>
<div class="dynheader">
Include dependency graph for client.h:</div>
<div class="dynsection">
</div>
<div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dynsection">
</div>

<p><a href="a00032_source.html">Go to the source code of this file.</a></p>
<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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00032.html#abff38ad578cd1925cb6bc180bca0bc80">_CLIENT_H</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00032.html#ad0346070ecde80a2181a4b87b533bea3">CLIENT_LOG</a>(client)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Pretty-prints the client’s information into the logfile.  <a href="#ad0346070ecde80a2181a4b87b533bea3"></a><br/></td></tr>
<tr><td colspan="2"><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00032.html#a795be4a8912ac14d7657257953a91cd1">client_remove_from_container</a> (xcb_connection_t *conn, <a class="el" href="a00007.html">Client</a> *client, <a class="el" href="a00013.html">Container</a> *container, bool remove_from_focusstack)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Removes the given client from the container, either because it will be inserted into another one or because it was unmapped.  <a href="#a795be4a8912ac14d7657257953a91cd1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00032.html#a4f8920c26884a6afe27211af25500135">client_warp_pointer_into</a> (xcb_connection_t *conn, <a class="el" href="a00007.html">Client</a> *client)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Warps the pointer into the given client (in the middle of it, to be specific), therefore selecting it.  <a href="#a4f8920c26884a6afe27211af25500135"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00032.html#aa244b3de7ad8ce3dddcca51abbc7fda9">client_kill</a> (xcb_connection_t *conn, <a class="el" href="a00007.html">Client</a> *window)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Kills the given window using WM_DELETE_WINDOW or xcb_kill_window.  <a href="#aa244b3de7ad8ce3dddcca51abbc7fda9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00032.html#ace28c5dcca4e3a62a20429038d3bed50">client_matches_class_name</a> (<a class="el" href="a00007.html">Client</a> *client, char *to_class, char *to_title, char *to_title_ucs, int to_title_ucs_len)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Checks if the given window class and title match the given client Window title is passed as "normal" string and as UCS-2 converted string for matching _NET_WM_NAME capable clients as well as those using legacy hints.  <a href="#ace28c5dcca4e3a62a20429038d3bed50"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00032.html#a9ec4f35452bd2af99fbc1e8cbf0917f4">client_enter_fullscreen</a> (xcb_connection_t *conn, <a class="el" href="a00007.html">Client</a> *client, bool global)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Enters fullscreen mode for the given client.  <a href="#a9ec4f35452bd2af99fbc1e8cbf0917f4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00032.html#ab8050b96085f7672609cc67eec3d839d">client_leave_fullscreen</a> (xcb_connection_t *conn, <a class="el" href="a00007.html">Client</a> *client)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Leaves fullscreen mode for the given client.  <a href="#ab8050b96085f7672609cc67eec3d839d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00032.html#a6eaa454820104be1fe5a9c9f99ca46e9">client_toggle_fullscreen</a> (xcb_connection_t *conn, <a class="el" href="a00007.html">Client</a> *client)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Toggles fullscreen mode for the given client.  <a href="#a6eaa454820104be1fe5a9c9f99ca46e9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00032.html#a24b4c1c08112c968a1732a43a2794d8e">client_toggle_fullscreen_global</a> (xcb_connection_t *conn, <a class="el" href="a00007.html">Client</a> *client)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Like <a class="el" href="a00060.html#a6eaa454820104be1fe5a9c9f99ca46e9" title="Toggles fullscreen mode for the given client.">client_toggle_fullscreen()</a>, but putting it in global fullscreen-mode.  <a href="#a24b4c1c08112c968a1732a43a2794d8e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00032.html#a20c5492b1cd5c30793e9fae4b7902686">client_set_below_floating</a> (xcb_connection_t *conn, <a class="el" href="a00007.html">Client</a> *client)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the position of the given client in the X stack to the highest (tiling layer is always on the same position, so this doesn’t matter) below the first floating client, so that floating windows are always on top.  <a href="#a20c5492b1cd5c30793e9fae4b7902686"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00032.html#a56065826f75013837bc8e125c8dc66c7">client_is_floating</a> (<a class="el" href="a00007.html">Client</a> *client)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns true if the client is floating.  <a href="#a56065826f75013837bc8e125c8dc66c7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00032.html#a10218faab5f6cc4fe90b439e278dec49">client_change_border</a> (xcb_connection_t *conn, <a class="el" href="a00007.html">Client</a> *client, char border_type)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Change the border type for the given client to normal (n), 1px border (p) or completely borderless (b).  <a href="#a10218faab5f6cc4fe90b439e278dec49"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00032.html#a1858104634b1bcafb34644f0a525c443">client_init_border</a> (xcb_connection_t *conn, <a class="el" href="a00007.html">Client</a> *client, char border_type)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Change the border type for the given client to normal (n), 1px border (p) or completely borderless (b) without actually re-rendering the layout.  <a href="#a1858104634b1bcafb34644f0a525c443"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00032.html#afe96e905cd2fcc23acf096304000f793">client_unmap</a> (xcb_connection_t *conn, <a class="el" href="a00007.html">Client</a> *client)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Unmap the client, correctly setting any state which is needed.  <a href="#afe96e905cd2fcc23acf096304000f793"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00032.html#a7f3612a4061bd46213d5e28f0c4d00ee">client_map</a> (xcb_connection_t *conn, <a class="el" href="a00007.html">Client</a> *client)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Map the client, correctly restoring any state needed.  <a href="#a7f3612a4061bd46213d5e28f0c4d00ee"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00032.html#af960751e35e4e181bc7c9e8b362babc3">client_mark</a> (xcb_connection_t *conn, <a class="el" href="a00007.html">Client</a> *client, const char *mark)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the given mark for this client.  <a href="#af960751e35e4e181bc7c9e8b362babc3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint32_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00032.html#a0c35ae37d3b41c85a9a0797b7578a018">client_min_height</a> (<a class="el" href="a00007.html">Client</a> *client)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the minimum height of a specific window.  <a href="#a0c35ae37d3b41c85a9a0797b7578a018"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint32_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00032.html#a5e28f5d4823929a52611f745e41ec3e3">client_min_width</a> (<a class="el" href="a00007.html">Client</a> *client)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See client_min_height.  <a href="#a5e28f5d4823929a52611f745e41ec3e3"></a><br/></td></tr>
</table>
<hr/><h2>Define Documentation</h2>
<a class="anchor" id="abff38ad578cd1925cb6bc180bca0bc80"></a><!-- doxytag: member="client.h::_CLIENT_H" ref="abff38ad578cd1925cb6bc180bca0bc80" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define _CLIENT_H</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="a00032_source.html#l00016">16</a> of file <a class="el" href="a00032_source.html">client.h</a>.</p>

</div>
</div>
<a class="anchor" id="ad0346070ecde80a2181a4b87b533bea3"></a><!-- doxytag: member="client.h::CLIENT_LOG" ref="ad0346070ecde80a2181a4b87b533bea3" args="(client)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CLIENT_LOG</td>
          <td>(</td>
          <td class="paramtype">client&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<b>Value:</b><div class="fragment"><pre class="fragment"><span class="keywordflow">do</span> { \
                <a class="code" href="a00044.html#a287e239c800086178591f5e53f5bb82c">DLOG</a>(<span class="stringliteral">&quot;Window: frame 0x%08x, child 0x%08x\n&quot;</span>, client-&gt;frame, client-&gt;child); \
        } <span class="keywordflow">while</span> (0)
</pre></div>
<p>Pretty-prints the client’s information into the logfile. </p>

<p>Definition at line <a class="el" href="a00032_source.html#l00151">151</a> of file <a class="el" href="a00032_source.html">client.h</a>.</p>

<p>Referenced by <a class="el" href="a00067_source.html#l00994">handle_hints()</a>, <a class="el" href="a00067_source.html#l00880">handle_normal_hints()</a>, and <a class="el" href="a00077_source.html#l00232">set_focus()</a>.</p>

</div>
</div>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="a10218faab5f6cc4fe90b439e278dec49"></a><!-- doxytag: member="client.h::client_change_border" ref="a10218faab5f6cc4fe90b439e278dec49" args="(xcb_connection_t *conn, Client *client, char border_type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void client_change_border </td>
          <td>(</td>
          <td class="paramtype">xcb_connection_t *&nbsp;</td>
          <td class="paramname"> <em>conn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00007.html">Client</a> *&nbsp;</td>
          <td class="paramname"> <em>client</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&nbsp;</td>
          <td class="paramname"> <em>border_type</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Change the border type for the given client to normal (n), 1px border (p) or completely borderless (b). </p>

<p>Definition at line <a class="el" href="a00060_source.html#l00377">377</a> of file <a class="el" href="a00060_source.html">client.c</a>.</p>

<p>References <a class="el" href="a00060_source.html#l00349">client_init_border()</a>, <a class="el" href="a00060_source.html#l00339">client_is_floating()</a>, <a class="el" href="a00036_source.html#l00353">Client::container</a>, <a class="el" href="a00036_source.html#l00440">Client::force_reconfigure</a>, <a class="el" href="a00069_source.html#l00081">redecorate_window()</a>, <a class="el" href="a00069_source.html#l00348">render_container()</a>, <a class="el" href="a00069_source.html#l00771">render_layout()</a>, and <a class="el" href="a00069_source.html#l00248">resize_client()</a>.</p>

<p>Referenced by <a class="el" href="a00061_source.html#l00950">parse_command()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
</div>
</p>

</div>
</div>
<a class="anchor" id="a9ec4f35452bd2af99fbc1e8cbf0917f4"></a><!-- doxytag: member="client.h::client_enter_fullscreen" ref="a9ec4f35452bd2af99fbc1e8cbf0917f4" args="(xcb_connection_t *conn, Client *client, bool global)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void client_enter_fullscreen </td>
          <td>(</td>
          <td class="paramtype">xcb_connection_t *&nbsp;</td>
          <td class="paramname"> <em>conn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00007.html">Client</a> *&nbsp;</td>
          <td class="paramname"> <em>client</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>global</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Enters fullscreen mode for the given client. </p>
<p>This is called by toggle_fullscreen and when moving a fullscreen client to another screen. </p>

<p>Definition at line <a class="el" href="a00060_source.html#l00156">156</a> of file <a class="el" href="a00060_source.html">client.c</a>.</p>

<p>References <a class="el" href="a00054_source.html#l00051">_NET_WM_STATE</a>, <a class="el" href="a00054_source.html#l00050">_NET_WM_STATE_FULLSCREEN</a>, <a class="el" href="a00036_source.html#l00520">xoutput::active</a>, <a class="el" href="a00071_source.html#l00083">atoms</a>, <a class="el" href="a00036_source.html#l00452">Client::child</a>, <a class="el" href="a00036_source.html#l00528">xoutput::current_workspace</a>, <a class="el" href="a00044_source.html#l00021">DLOG</a>, <a class="el" href="a00079_source.html#l00165">fake_configure_notify()</a>, <a class="el" href="a00036_source.html#l00448">Client::frame</a>, <a class="el" href="a00036_source.html#l00411">Client::fullscreen</a>, <a class="el" href="a00036_source.html#l00226">Workspace::fullscreen_client</a>, <a class="el" href="a00036_source.html#l00100">Rect::height</a>, <a class="el" href="a00044_source.html#l00019">LOG</a>, <a class="el" href="a00036_source.html#l00516">xoutput::name</a>, <a class="el" href="a00073_source.html#l00047">outputs</a>, <a class="el" href="a00036_source.html#l00199">Workspace::rect</a>, <a class="el" href="a00036_source.html#l00531">xoutput::rect</a>, <a class="el" href="a00047_source.html#l00335">TAILQ_FOREACH</a>, <a class="el" href="a00036_source.html#l00099">Rect::width</a>, <a class="el" href="a00036_source.html#l00356">Client::workspace</a>, <a class="el" href="a00036_source.html#l00097">Rect::x</a>, <a class="el" href="a00079_source.html#l00328">xcb_set_window_rect()</a>, and <a class="el" href="a00036_source.html#l00098">Rect::y</a>.</p>

<p>Referenced by <a class="el" href="a00060_source.html#l00281">client_toggle_fullscreen()</a>, <a class="el" href="a00060_source.html#l00296">client_toggle_fullscreen_global()</a>, <a class="el" href="a00061_source.html#l00638">move_current_window_to_workspace()</a>, <a class="el" href="a00061_source.html#l00566">move_floating_window_to_workspace()</a>, and <a class="el" href="a00078_source.html#l00113">workspace_show()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
</div>
</p>

</div>
</div>
<a class="anchor" id="a1858104634b1bcafb34644f0a525c443"></a><!-- doxytag: member="client.h::client_init_border" ref="a1858104634b1bcafb34644f0a525c443" args="(xcb_connection_t *conn, Client *client, char border_type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool client_init_border </td>
          <td>(</td>
          <td class="paramtype">xcb_connection_t *&nbsp;</td>
          <td class="paramname"> <em>conn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00007.html">Client</a> *&nbsp;</td>
          <td class="paramname"> <em>client</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&nbsp;</td>
          <td class="paramname"> <em>border_type</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Change the border type for the given client to normal (n), 1px border (p) or completely borderless (b) without actually re-rendering the layout. </p>
<p>Useful for calling it when initializing a new client. </p>

<p>Definition at line <a class="el" href="a00060_source.html#l00349">349</a> of file <a class="el" href="a00060_source.html">client.c</a>.</p>

<p>References <a class="el" href="a00036_source.html#l00427">Client::borderless</a>, <a class="el" href="a00044_source.html#l00019">LOG</a>, and <a class="el" href="a00007.html#a990cfbc44d87127fd05d8f6a5293d2fd">Client::titlebar_position</a>.</p>

<p>Referenced by <a class="el" href="a00060_source.html#l00377">client_change_border()</a>, and <a class="el" href="a00072_source.html#l00151">reparent_window()</a>.</p>

</div>
</div>
<a class="anchor" id="a56065826f75013837bc8e125c8dc66c7"></a><!-- doxytag: member="client.h::client_is_floating" ref="a56065826f75013837bc8e125c8dc66c7" args="(Client *client)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool client_is_floating </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00007.html">Client</a> *&nbsp;</td>
          <td class="paramname"> <em>client</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns true if the client is floating. </p>
<p>Makes the code more beatiful, as floating is not simply a boolean, but also saves whether the user selected the current state or whether it was automatically set. </p>

<p>Definition at line <a class="el" href="a00060_source.html#l00339">339</a> of file <a class="el" href="a00060_source.html">client.c</a>.</p>

<p>References <a class="el" href="a00007.html#ad5e886955e668cc51fbb17acb2871cea">Client::floating</a>.</p>

<p>Referenced by <a class="el" href="a00060_source.html#l00377">client_change_border()</a>, <a class="el" href="a00060_source.html#l00244">client_leave_fullscreen()</a>, <a class="el" href="a00069_source.html#l00098">decorate_window()</a>, <a class="el" href="a00066_source.html#l00540">floating_toggle_hide()</a>, <a class="el" href="a00059_source.html#l00255">handle_button_press()</a>, <a class="el" href="a00067_source.html#l00292">handle_configure_request()</a>, <a class="el" href="a00067_source.html#l00460">handle_unmap_notify_event()</a>, <a class="el" href="a00061_source.html#l00566">move_floating_window_to_workspace()</a>, <a class="el" href="a00073_source.html#l00246">output_change_mode()</a>, <a class="el" href="a00061_source.html#l00950">parse_command()</a>, <a class="el" href="a00061_source.html#l00869">parse_resize_command()</a>, <a class="el" href="a00072_source.html#l00151">reparent_window()</a>, <a class="el" href="a00069_source.html#l00206">reposition_client()</a>, <a class="el" href="a00077_source.html#l00232">set_focus()</a>, <a class="el" href="a00066_source.html#l00041">toggle_floating_mode()</a>, <a class="el" href="a00061_source.html#l00780">travel_focus_stack()</a>, and <a class="el" href="a00078_source.html#l00375">workspace_unmap_clients()</a>.</p>

</div>
</div>
<a class="anchor" id="aa244b3de7ad8ce3dddcca51abbc7fda9"></a><!-- doxytag: member="client.h::client_kill" ref="aa244b3de7ad8ce3dddcca51abbc7fda9" args="(xcb_connection_t *conn, Client *window)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void client_kill </td>
          <td>(</td>
          <td class="paramtype">xcb_connection_t *&nbsp;</td>
          <td class="paramname"> <em>conn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00007.html">Client</a> *&nbsp;</td>
          <td class="paramname"> <em>window</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Kills the given window using WM_DELETE_WINDOW or xcb_kill_window. </p>

<p>Definition at line <a class="el" href="a00060_source.html#l00095">95</a> of file <a class="el" href="a00060_source.html">client.c</a>.</p>

<p>References <a class="el" href="a00071_source.html#l00083">atoms</a>, <a class="el" href="a00036_source.html#l00452">Client::child</a>, <a class="el" href="a00060_source.html#l00072">client_supports_protocol()</a>, <a class="el" href="a00044_source.html#l00019">LOG</a>, <a class="el" href="a00054_source.html#l00061">WM_DELETE_WINDOW</a>, and <a class="el" href="a00054_source.html#l00060">WM_PROTOCOLS</a>.</p>

<p>Referenced by <a class="el" href="a00061_source.html#l00950">parse_command()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
</div>
</p>

</div>
</div>
<a class="anchor" id="ab8050b96085f7672609cc67eec3d839d"></a><!-- doxytag: member="client.h::client_leave_fullscreen" ref="ab8050b96085f7672609cc67eec3d839d" args="(xcb_connection_t *conn, Client *client)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void client_leave_fullscreen </td>
          <td>(</td>
          <td class="paramtype">xcb_connection_t *&nbsp;</td>
          <td class="paramname"> <em>conn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00007.html">Client</a> *&nbsp;</td>
          <td class="paramname"> <em>client</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Leaves fullscreen mode for the given client. </p>
<p>Leaves fullscreen mode for the current client.</p>
<p>This is called by toggle_fullscreen.</p>
<p>Leaves fullscreen mode for the given client.</p>
<p>This is called by toggle_fullscreen. </p>

<p>Definition at line <a class="el" href="a00060_source.html#l00244">244</a> of file <a class="el" href="a00060_source.html">client.c</a>.</p>

<p>References <a class="el" href="a00054_source.html#l00051">_NET_WM_STATE</a>, <a class="el" href="a00071_source.html#l00083">atoms</a>, <a class="el" href="a00036_source.html#l00452">Client::child</a>, <a class="el" href="a00060_source.html#l00339">client_is_floating()</a>, <a class="el" href="a00060_source.html#l00313">client_set_below_floating()</a>, <a class="el" href="a00036_source.html#l00440">Client::force_reconfigure</a>, <a class="el" href="a00036_source.html#l00411">Client::fullscreen</a>, <a class="el" href="a00036_source.html#l00226">Workspace::fullscreen_client</a>, <a class="el" href="a00044_source.html#l00019">LOG</a>, <a class="el" href="a00069_source.html#l00081">redecorate_window()</a>, <a class="el" href="a00069_source.html#l00771">render_layout()</a>, <a class="el" href="a00069_source.html#l00206">reposition_client()</a>, <a class="el" href="a00069_source.html#l00248">resize_client()</a>, <a class="el" href="a00047_source.html#l00335">TAILQ_FOREACH</a>, and <a class="el" href="a00076_source.html#l00034">workspaces</a>.</p>

<p>Referenced by <a class="el" href="a00060_source.html#l00281">client_toggle_fullscreen()</a>, <a class="el" href="a00060_source.html#l00296">client_toggle_fullscreen_global()</a>, and <a class="el" href="a00061_source.html#l00950">parse_command()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
</div>
</p>

</div>
</div>
<a class="anchor" id="a7f3612a4061bd46213d5e28f0c4d00ee"></a><!-- doxytag: member="client.h::client_map" ref="a7f3612a4061bd46213d5e28f0c4d00ee" args="(xcb_connection_t *conn, Client *client)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void client_map </td>
          <td>(</td>
          <td class="paramtype">xcb_connection_t *&nbsp;</td>
          <td class="paramname"> <em>conn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00007.html">Client</a> *&nbsp;</td>
          <td class="paramname"> <em>client</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Map the client, correctly restoring any state needed. </p>

<p>Definition at line <a class="el" href="a00060_source.html#l00414">414</a> of file <a class="el" href="a00060_source.html">client.c</a>.</p>

<p>References <a class="el" href="a00071_source.html#l00083">atoms</a>, <a class="el" href="a00036_source.html#l00452">Client::child</a>, <a class="el" href="a00036_source.html#l00448">Client::frame</a>, and <a class="el" href="a00054_source.html#l00063">WM_STATE</a>.</p>

<p>Referenced by <a class="el" href="a00066_source.html#l00540">floating_toggle_hide()</a>, <a class="el" href="a00072_source.html#l00151">reparent_window()</a>, and <a class="el" href="a00078_source.html#l00342">workspace_map_clients()</a>.</p>

</div>
</div>
<a class="anchor" id="af960751e35e4e181bc7c9e8b362babc3"></a><!-- doxytag: member="client.h::client_mark" ref="af960751e35e4e181bc7c9e8b362babc3" args="(xcb_connection_t *conn, Client *client, const char *mark)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void client_mark </td>
          <td>(</td>
          <td class="paramtype">xcb_connection_t *&nbsp;</td>
          <td class="paramname"> <em>conn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00007.html">Client</a> *&nbsp;</td>
          <td class="paramname"> <em>client</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>mark</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the given mark for this client. </p>
<p>Used for jumping to the client afterwards (like m&lt;mark&gt; and '&lt;mark&gt; in vim). </p>

<p>Definition at line <a class="el" href="a00060_source.html#l00428">428</a> of file <a class="el" href="a00060_source.html">client.c</a>.</p>

<p>References <a class="el" href="a00036_source.html#l00404">Client::mark</a>, <a class="el" href="a00047_source.html#l00115">SLIST_FOREACH</a>, <a class="el" href="a00077_source.html#l00080">sstrdup()</a>, <a class="el" href="a00047_source.html#l00335">TAILQ_FOREACH</a>, and <a class="el" href="a00076_source.html#l00034">workspaces</a>.</p>

<p>Referenced by <a class="el" href="a00061_source.html#l00950">parse_command()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
</div>
</p>

</div>
</div>
<a class="anchor" id="ace28c5dcca4e3a62a20429038d3bed50"></a><!-- doxytag: member="client.h::client_matches_class_name" ref="ace28c5dcca4e3a62a20429038d3bed50" args="(Client *client, char *to_class, char *to_title, char *to_title_ucs, int to_title_ucs_len)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool client_matches_class_name </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00007.html">Client</a> *&nbsp;</td>
          <td class="paramname"> <em>client</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&nbsp;</td>
          <td class="paramname"> <em>to_class</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&nbsp;</td>
          <td class="paramname"> <em>to_title</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&nbsp;</td>
          <td class="paramname"> <em>to_title_ucs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>to_title_ucs_len</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Checks if the given window class and title match the given client Window title is passed as "normal" string and as UCS-2 converted string for matching _NET_WM_NAME capable clients as well as those using legacy hints. </p>

<p>Definition at line <a class="el" href="a00060_source.html#l00125">125</a> of file <a class="el" href="a00060_source.html">client.c</a>.</p>

<p>References <a class="el" href="a00036_source.html#l00387">Client::name</a>, <a class="el" href="a00036_source.html#l00393">Client::name_len</a>, <a class="el" href="a00036_source.html#l00401">Client::window_class_class</a>, and <a class="el" href="a00036_source.html#l00400">Client::window_class_instance</a>.</p>

<p>Referenced by <a class="el" href="a00077_source.html#l00440">get_matching_client()</a>.</p>

</div>
</div>
<a class="anchor" id="a0c35ae37d3b41c85a9a0797b7578a018"></a><!-- doxytag: member="client.h::client_min_height" ref="a0c35ae37d3b41c85a9a0797b7578a018" args="(Client *client)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t client_min_height </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00007.html">Client</a> *&nbsp;</td>
          <td class="paramname"> <em>client</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the minimum height of a specific window. </p>
<p>The height is calculated by using 2 pixels (for the client window itself), possibly padding this to comply with the client’s base_height and then adding the decoration height. </p>

<p>Definition at line <a class="el" href="a00060_source.html#l00457">457</a> of file <a class="el" href="a00060_source.html">client.c</a>.</p>

<p>References <a class="el" href="a00036_source.html#l00371">Client::base_height</a>, <a class="el" href="a00036_source.html#l00427">Client::borderless</a>, <a class="el" href="a00062_source.html#l00037">config</a>, <a class="el" href="a00034_source.html#l00087">Config::font</a>, <a class="el" href="a00071_source.html#l00058">global_conn</a>, <a class="el" href="a00036_source.html#l00331">Font::height</a>, <a class="el" href="a00054.html#a50c1fc0de5343536d542c8349ab7ab0d">load_font()</a>, <a class="el" href="a00077_source.html#l00048">max()</a>, and <a class="el" href="a00007.html#a990cfbc44d87127fd05d8f6a5293d2fd">Client::titlebar_position</a>.</p>

<p>Referenced by <a class="el" href="a00066_source.html#l00177">DRAGGING_CB()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
</div>
</p>

</div>
</div>
<a class="anchor" id="a5e28f5d4823929a52611f745e41ec3e3"></a><!-- doxytag: member="client.h::client_min_width" ref="a5e28f5d4823929a52611f745e41ec3e3" args="(Client *client)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t client_min_width </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00007.html">Client</a> *&nbsp;</td>
          <td class="paramname"> <em>client</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>See client_min_height. </p>

<p>Definition at line <a class="el" href="a00060_source.html#l00474">474</a> of file <a class="el" href="a00060_source.html">client.c</a>.</p>

<p>References <a class="el" href="a00036_source.html#l00372">Client::base_width</a>, <a class="el" href="a00036_source.html#l00427">Client::borderless</a>, <a class="el" href="a00077_source.html#l00048">max()</a>, and <a class="el" href="a00007.html#a990cfbc44d87127fd05d8f6a5293d2fd">Client::titlebar_position</a>.</p>

<p>Referenced by <a class="el" href="a00066_source.html#l00177">DRAGGING_CB()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
</div>
</p>

</div>
</div>
<a class="anchor" id="a795be4a8912ac14d7657257953a91cd1"></a><!-- doxytag: member="client.h::client_remove_from_container" ref="a795be4a8912ac14d7657257953a91cd1" args="(xcb_connection_t *conn, Client *client, Container *container, bool remove_from_focusstack)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void client_remove_from_container </td>
          <td>(</td>
          <td class="paramtype">xcb_connection_t *&nbsp;</td>
          <td class="paramname"> <em>conn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00007.html">Client</a> *&nbsp;</td>
          <td class="paramname"> <em>client</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00013.html">Container</a> *&nbsp;</td>
          <td class="paramname"> <em>container</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>remove_from_focusstack</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Removes the given client from the container, either because it will be inserted into another one or because it was unmapped. </p>

<p>Definition at line <a class="el" href="a00060_source.html#l00038">38</a> of file <a class="el" href="a00060_source.html">client.c</a>.</p>

<p>References <a class="el" href="a00047_source.html#l00436">CIRCLEQ_EMPTY</a>, <a class="el" href="a00047_source.html#l00497">CIRCLEQ_REMOVE</a>, <a class="el" href="a00044_source.html#l00021">DLOG</a>, <a class="el" href="a00036_source.html#l00100">Rect::height</a>, <a class="el" href="a00013.html#ac094306ab77e360742aba04d7cbd0fe6">Container::mode</a>, <a class="el" href="a00036_source.html#l00146">Stack_Window::rect</a>, <a class="el" href="a00047_source.html#l00150">SLIST_REMOVE</a>, <a class="el" href="a00036_source.html#l00485">Container::stack_win</a>, <a class="el" href="a00036_source.html#l00144">Stack_Window::window</a>, and <a class="el" href="a00036_source.html#l00488">Container::workspace</a>.</p>

<p>Referenced by <a class="el" href="a00067_source.html#l00460">handle_unmap_notify_event()</a>, <a class="el" href="a00061_source.html#l00312">move_current_window()</a>, <a class="el" href="a00061_source.html#l00638">move_current_window_to_workspace()</a>, and <a class="el" href="a00066_source.html#l00041">toggle_floating_mode()</a>.</p>

</div>
</div>
<a class="anchor" id="a20c5492b1cd5c30793e9fae4b7902686"></a><!-- doxytag: member="client.h::client_set_below_floating" ref="a20c5492b1cd5c30793e9fae4b7902686" args="(xcb_connection_t *conn, Client *client)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void client_set_below_floating </td>
          <td>(</td>
          <td class="paramtype">xcb_connection_t *&nbsp;</td>
          <td class="paramname"> <em>conn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00007.html">Client</a> *&nbsp;</td>
          <td class="paramname"> <em>client</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the position of the given client in the X stack to the highest (tiling layer is always on the same position, so this doesn’t matter) below the first floating client, so that floating windows are always on top. </p>

<p>Definition at line <a class="el" href="a00060_source.html#l00313">313</a> of file <a class="el" href="a00060_source.html">client.c</a>.</p>

<p>References <a class="el" href="a00044_source.html#l00021">DLOG</a>, <a class="el" href="a00036_source.html#l00448">Client::frame</a>, <a class="el" href="a00036_source.html#l00226">Workspace::fullscreen_client</a>, <a class="el" href="a00047_source.html#l00325">TAILQ_END</a>, <a class="el" href="a00047_source.html#l00324">TAILQ_FIRST</a>, and <a class="el" href="a00036_source.html#l00356">Client::workspace</a>.</p>

<p>Referenced by <a class="el" href="a00060_source.html#l00244">client_leave_fullscreen()</a>, <a class="el" href="a00072_source.html#l00151">reparent_window()</a>, and <a class="el" href="a00066_source.html#l00041">toggle_floating_mode()</a>.</p>

</div>
</div>
<a class="anchor" id="a6eaa454820104be1fe5a9c9f99ca46e9"></a><!-- doxytag: member="client.h::client_toggle_fullscreen" ref="a6eaa454820104be1fe5a9c9f99ca46e9" args="(xcb_connection_t *conn, Client *client)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void client_toggle_fullscreen </td>
          <td>(</td>
          <td class="paramtype">xcb_connection_t *&nbsp;</td>
          <td class="paramname"> <em>conn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00007.html">Client</a> *&nbsp;</td>
          <td class="paramname"> <em>client</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Toggles fullscreen mode for the given client. </p>
<p>It updates the data structures and reconfigures (= resizes/moves) the client and its frame to the full size of the screen. When leaving fullscreen, re-rendering the layout is forced. </p>

<p>Definition at line <a class="el" href="a00060_source.html#l00281">281</a> of file <a class="el" href="a00060_source.html">client.c</a>.</p>

<p>References <a class="el" href="a00060_source.html#l00156">client_enter_fullscreen()</a>, <a class="el" href="a00060_source.html#l00244">client_leave_fullscreen()</a>, <a class="el" href="a00036_source.html#l00431">Client::dock</a>, and <a class="el" href="a00036_source.html#l00411">Client::fullscreen</a>.</p>

<p>Referenced by <a class="el" href="a00067_source.html#l00840">handle_client_message()</a>, <a class="el" href="a00061_source.html#l00950">parse_command()</a>, and <a class="el" href="a00072_source.html#l00151">reparent_window()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
</div>
</p>

</div>
</div>
<a class="anchor" id="a24b4c1c08112c968a1732a43a2794d8e"></a><!-- doxytag: member="client.h::client_toggle_fullscreen_global" ref="a24b4c1c08112c968a1732a43a2794d8e" args="(xcb_connection_t *conn, Client *client)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void client_toggle_fullscreen_global </td>
          <td>(</td>
          <td class="paramtype">xcb_connection_t *&nbsp;</td>
          <td class="paramname"> <em>conn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00007.html">Client</a> *&nbsp;</td>
          <td class="paramname"> <em>client</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Like <a class="el" href="a00060.html#a6eaa454820104be1fe5a9c9f99ca46e9" title="Toggles fullscreen mode for the given client.">client_toggle_fullscreen()</a>, but putting it in global fullscreen-mode. </p>

<p>Definition at line <a class="el" href="a00060_source.html#l00296">296</a> of file <a class="el" href="a00060_source.html">client.c</a>.</p>

<p>References <a class="el" href="a00060_source.html#l00156">client_enter_fullscreen()</a>, <a class="el" href="a00060_source.html#l00244">client_leave_fullscreen()</a>, <a class="el" href="a00036_source.html#l00431">Client::dock</a>, and <a class="el" href="a00036_source.html#l00411">Client::fullscreen</a>.</p>

<p>Referenced by <a class="el" href="a00061_source.html#l00950">parse_command()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
</div>
</p>

</div>
</div>
<a class="anchor" id="afe96e905cd2fcc23acf096304000f793"></a><!-- doxytag: member="client.h::client_unmap" ref="afe96e905cd2fcc23acf096304000f793" args="(xcb_connection_t *conn, Client *client)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void client_unmap </td>
          <td>(</td>
          <td class="paramtype">xcb_connection_t *&nbsp;</td>
          <td class="paramname"> <em>conn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00007.html">Client</a> *&nbsp;</td>
          <td class="paramname"> <em>client</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Unmap the client, correctly setting any state which is needed. </p>

<p>Definition at line <a class="el" href="a00060_source.html#l00402">402</a> of file <a class="el" href="a00060_source.html">client.c</a>.</p>

<p>References <a class="el" href="a00071_source.html#l00083">atoms</a>, <a class="el" href="a00036_source.html#l00452">Client::child</a>, <a class="el" href="a00036_source.html#l00448">Client::frame</a>, and <a class="el" href="a00054_source.html#l00063">WM_STATE</a>.</p>

<p>Referenced by <a class="el" href="a00066_source.html#l00540">floating_toggle_hide()</a>, <a class="el" href="a00067_source.html#l00460">handle_unmap_notify_event()</a>, <a class="el" href="a00061_source.html#l00638">move_current_window_to_workspace()</a>, <a class="el" href="a00061_source.html#l00566">move_floating_window_to_workspace()</a>, and <a class="el" href="a00078_source.html#l00375">workspace_unmap_clients()</a>.</p>

</div>
</div>
<a class="anchor" id="a4f8920c26884a6afe27211af25500135"></a><!-- doxytag: member="client.h::client_warp_pointer_into" ref="a4f8920c26884a6afe27211af25500135" args="(xcb_connection_t *conn, Client *client)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void client_warp_pointer_into </td>
          <td>(</td>
          <td class="paramtype">xcb_connection_t *&nbsp;</td>
          <td class="paramname"> <em>conn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00007.html">Client</a> *&nbsp;</td>
          <td class="paramname"> <em>client</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Warps the pointer into the given client (in the middle of it, to be specific), therefore selecting it. </p>

<p>Definition at line <a class="el" href="a00060_source.html#l00062">62</a> of file <a class="el" href="a00060_source.html">client.c</a>.</p>

<p>References <a class="el" href="a00036_source.html#l00452">Client::child</a>, <a class="el" href="a00036_source.html#l00100">Rect::height</a>, <a class="el" href="a00036_source.html#l00359">Client::rect</a>, and <a class="el" href="a00036_source.html#l00099">Rect::width</a>.</p>

<p>Referenced by <a class="el" href="a00061_source.html#l00638">move_current_window_to_workspace()</a>, <a class="el" href="a00061_source.html#l00566">move_floating_window_to_workspace()</a>, and <a class="el" href="a00078_source.html#l00113">workspace_show()</a>.</p>

</div>
</div>
</div>
<hr class="footer"/><address style="text-align: right;"><small>Generated by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2-20100208 </small></address>
</body>
</html>