Sophie

Sophie

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

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 Source File</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>
<h1>include/client.h</h1><a href="a00032.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment"> * vim:ts=8:expandtab</span>
<a name="l00003"></a>00003 <span class="comment"> *</span>
<a name="l00004"></a>00004 <span class="comment"> * i3 - an improved dynamic tiling window manager</span>
<a name="l00005"></a>00005 <span class="comment"> *</span>
<a name="l00006"></a>00006 <span class="comment"> * © 2009 Michael Stapelberg and contributors</span>
<a name="l00007"></a>00007 <span class="comment"> *</span>
<a name="l00008"></a>00008 <span class="comment"> * See file LICENSE for license information.</span>
<a name="l00009"></a>00009 <span class="comment"> *</span>
<a name="l00010"></a>00010 <span class="comment"> */</span>
<a name="l00011"></a>00011 <span class="preprocessor">#include &lt;xcb/xcb.h&gt;</span>
<a name="l00012"></a>00012 
<a name="l00013"></a>00013 <span class="preprocessor">#include &quot;<a class="code" href="a00036.html">data.h</a>&quot;</span>
<a name="l00014"></a>00014 
<a name="l00015"></a>00015 <span class="preprocessor">#ifndef _CLIENT_H</span>
<a name="l00016"></a><a class="code" href="a00032.html#abff38ad578cd1925cb6bc180bca0bc80">00016</a> <span class="preprocessor"></span><span class="preprocessor">#define _CLIENT_H</span>
<a name="l00017"></a>00017 <span class="preprocessor"></span>
<a name="l00023"></a>00023 <span class="keywordtype">void</span> <a class="code" href="a00060.html#a795be4a8912ac14d7657257953a91cd1" title="Removes the given client from the container, either because it will be inserted into...">client_remove_from_container</a>(xcb_connection_t *conn, <a class="code" href="a00007.html" title="A client is X11-speak for a window.">Client</a> *client,
<a name="l00024"></a>00024                                   <a class="code" href="a00013.html" title="A container is either in default, stacking or tabbed mode.">Container</a> *container,
<a name="l00025"></a>00025                                   <span class="keywordtype">bool</span> remove_from_focusstack);
<a name="l00026"></a>00026 
<a name="l00032"></a>00032 <span class="keywordtype">void</span> <a class="code" href="a00060.html#a4f8920c26884a6afe27211af25500135" title="Warps the pointer into the given client (in the middle of it, to be specific), therefore...">client_warp_pointer_into</a>(xcb_connection_t *conn, <a class="code" href="a00007.html" title="A client is X11-speak for a window.">Client</a> *client);
<a name="l00033"></a>00033 
<a name="l00038"></a>00038 <span class="keywordtype">void</span> <a class="code" href="a00060.html#aa244b3de7ad8ce3dddcca51abbc7fda9" title="Kills the given window using WM_DELETE_WINDOW or xcb_kill_window.">client_kill</a>(xcb_connection_t *conn, <a class="code" href="a00007.html" title="A client is X11-speak for a window.">Client</a> *window);
<a name="l00039"></a>00039 
<a name="l00046"></a>00046 <span class="keywordtype">bool</span> <a class="code" href="a00060.html#ace28c5dcca4e3a62a20429038d3bed50" title="Checks if the given window class and title match the given client Window title is...">client_matches_class_name</a>(<a class="code" href="a00007.html" title="A client is X11-speak for a window.">Client</a> *client, <span class="keywordtype">char</span> *to_class, <span class="keywordtype">char</span> *to_title,
<a name="l00047"></a>00047                                <span class="keywordtype">char</span> *to_title_ucs, <span class="keywordtype">int</span> to_title_ucs_len);
<a name="l00048"></a>00048 
<a name="l00054"></a>00054 <span class="keywordtype">void</span> <a class="code" href="a00060.html#a9ec4f35452bd2af99fbc1e8cbf0917f4" title="Enters fullscreen mode for the given client.">client_enter_fullscreen</a>(xcb_connection_t *conn, <a class="code" href="a00007.html" title="A client is X11-speak for a window.">Client</a> *client, <span class="keywordtype">bool</span> global);
<a name="l00055"></a>00055 
<a name="l00060"></a>00060 <span class="keywordtype">void</span> <a class="code" href="a00060.html#ab8050b96085f7672609cc67eec3d839d" title="Leaves fullscreen mode for the current client.">client_leave_fullscreen</a>(xcb_connection_t *conn, <a class="code" href="a00007.html" title="A client is X11-speak for a window.">Client</a> *client);
<a name="l00061"></a>00061 
<a name="l00066"></a>00066 <span class="keywordtype">void</span> <a class="code" href="a00060.html#ab8050b96085f7672609cc67eec3d839d" title="Leaves fullscreen mode for the current client.">client_leave_fullscreen</a>(xcb_connection_t *conn, <a class="code" href="a00007.html" title="A client is X11-speak for a window.">Client</a> *client);
<a name="l00067"></a>00067 
<a name="l00075"></a>00075 <span class="keywordtype">void</span> <a class="code" href="a00060.html#a6eaa454820104be1fe5a9c9f99ca46e9" title="Toggles fullscreen mode for the given client.">client_toggle_fullscreen</a>(xcb_connection_t *conn, <a class="code" href="a00007.html" title="A client is X11-speak for a window.">Client</a> *client);
<a name="l00076"></a>00076 
<a name="l00081"></a>00081 <span class="keywordtype">void</span> <a class="code" href="a00060.html#a24b4c1c08112c968a1732a43a2794d8e" title="Like client_toggle_fullscreen(), but putting it in global fullscreen-mode.">client_toggle_fullscreen_global</a>(xcb_connection_t *conn, <a class="code" href="a00007.html" title="A client is X11-speak for a window.">Client</a> *client);
<a name="l00082"></a>00082 
<a name="l00089"></a>00089 <span class="keywordtype">void</span> <a class="code" href="a00060.html#a20c5492b1cd5c30793e9fae4b7902686" title="Sets the position of the given client in the X stack to the highest (tiling layer...">client_set_below_floating</a>(xcb_connection_t *conn, <a class="code" href="a00007.html" title="A client is X11-speak for a window.">Client</a> *client);
<a name="l00090"></a>00090 
<a name="l00097"></a>00097 <span class="keywordtype">bool</span> <a class="code" href="a00060.html#a56065826f75013837bc8e125c8dc66c7" title="Returns true if the client is floating.">client_is_floating</a>(<a class="code" href="a00007.html" title="A client is X11-speak for a window.">Client</a> *client);
<a name="l00098"></a>00098 
<a name="l00104"></a>00104 <span class="keywordtype">void</span> <a class="code" href="a00060.html#a10218faab5f6cc4fe90b439e278dec49" title="Change the border type for the given client to normal (n), 1px border (p) or completely...">client_change_border</a>(xcb_connection_t *conn, <a class="code" href="a00007.html" title="A client is X11-speak for a window.">Client</a> *client, <span class="keywordtype">char</span> border_type);
<a name="l00105"></a>00105 
<a name="l00112"></a>00112 <span class="keywordtype">bool</span> <a class="code" href="a00060.html#a1858104634b1bcafb34644f0a525c443" title="Change the border type for the given client to normal (n), 1px border (p) or completely...">client_init_border</a>(xcb_connection_t *conn, <a class="code" href="a00007.html" title="A client is X11-speak for a window.">Client</a> *client, <span class="keywordtype">char</span> border_type);
<a name="l00113"></a>00113 
<a name="l00118"></a>00118 <span class="keywordtype">void</span> <a class="code" href="a00060.html#afe96e905cd2fcc23acf096304000f793" title="Unmap the client, correctly setting any state which is needed.">client_unmap</a>(xcb_connection_t *conn, <a class="code" href="a00007.html" title="A client is X11-speak for a window.">Client</a> *client);
<a name="l00119"></a>00119 
<a name="l00124"></a>00124 <span class="keywordtype">void</span> <a class="code" href="a00060.html#a7f3612a4061bd46213d5e28f0c4d00ee" title="Map the client, correctly restoring any state needed.">client_map</a>(xcb_connection_t *conn, <a class="code" href="a00007.html" title="A client is X11-speak for a window.">Client</a> *client);
<a name="l00125"></a>00125 
<a name="l00131"></a>00131 <span class="keywordtype">void</span> <a class="code" href="a00060.html#af960751e35e4e181bc7c9e8b362babc3" title="Set the given mark for this client.">client_mark</a>(xcb_connection_t *conn, <a class="code" href="a00007.html" title="A client is X11-speak for a window.">Client</a> *client, <span class="keyword">const</span> <span class="keywordtype">char</span> *mark);
<a name="l00132"></a>00132 
<a name="l00139"></a>00139 uint32_t <a class="code" href="a00060.html#a0c35ae37d3b41c85a9a0797b7578a018" title="Returns the minimum height of a specific window.">client_min_height</a>(<a class="code" href="a00007.html" title="A client is X11-speak for a window.">Client</a> *client);
<a name="l00140"></a>00140 
<a name="l00145"></a>00145 uint32_t <a class="code" href="a00060.html#a5e28f5d4823929a52611f745e41ec3e3" title="See client_min_height.">client_min_width</a>(<a class="code" href="a00007.html" title="A client is X11-speak for a window.">Client</a> *client);
<a name="l00146"></a>00146 
<a name="l00151"></a><a class="code" href="a00032.html#ad0346070ecde80a2181a4b87b533bea3">00151</a> <span class="preprocessor">#define CLIENT_LOG(client) do { \</span>
<a name="l00152"></a>00152 <span class="preprocessor">                DLOG(&quot;Window: frame 0x%08x, child 0x%08x\n&quot;, client-&gt;frame, client-&gt;child); \</span>
<a name="l00153"></a>00153 <span class="preprocessor">        } while (0)</span>
<a name="l00154"></a>00154 <span class="preprocessor"></span>
<a name="l00155"></a>00155 <span class="preprocessor">#endif</span>
</pre></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>