Sophie

Sophie

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

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/layout.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/layout.h</h1><a href="a00043.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"> * (c) 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">#ifndef _LAYOUT_H</span>
<a name="l00014"></a>00014 <span class="preprocessor"></span><span class="preprocessor">#define _LAYOUT_H</span>
<a name="l00015"></a>00015 <span class="preprocessor"></span>
<a name="l00023"></a>00023 <span class="keywordtype">int</span> <a class="code" href="a00069.html#a58500d1d5e56285ceb2bd514dbee8a2f" title="Gets the unoccupied space (= space which is available for windows which were resized...">get_unoccupied_x</a>(<a class="code" href="a00025.html" title="The concept of Workspaces is known from various other window managers.">Workspace</a> *workspace);
<a name="l00024"></a>00024 
<a name="l00026"></a>00026 <span class="keywordtype">int</span> <a class="code" href="a00069.html#a9ca57ef4162045e82bf24e326ec8a936" title="See get_unoccupied_x.">get_unoccupied_y</a>(<a class="code" href="a00025.html" title="The concept of Workspaces is known from various other window managers.">Workspace</a> *workspace);
<a name="l00027"></a>00027 
<a name="l00034"></a>00034 <span class="keywordtype">void</span> <a class="code" href="a00069.html#a1ea737657e6613d21ad663bb45c82dd2" title="(Re-)draws window decorations for a given Client onto the given drawable/graphic...">decorate_window</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="l00035"></a>00035                      xcb_drawable_t drawable, xcb_gcontext_t gc,
<a name="l00036"></a>00036                      <span class="keywordtype">int</span> offset_x, <span class="keywordtype">int</span> offset_y);
<a name="l00037"></a>00037 
<a name="l00044"></a>00044 <span class="keywordtype">void</span> <a class="code" href="a00069.html#ac78b8a4b371d2c4c2800c765f46e5df3" title="Redecorates the given client correctly by checking if it’s in a stacking container...">redecorate_window</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="l00045"></a>00045 
<a name="l00050"></a>00050 <span class="keywordtype">void</span> <a class="code" href="a00069.html#a1d68fface3cf11ff882c23a5bfa586ab" title="Pushes the client’s x and y coordinates to X11.">reposition_client</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="l00051"></a>00051 
<a name="l00059"></a>00059 <span class="keywordtype">void</span> <a class="code" href="a00069.html#a83463931ef26f7c3261dc1b804282299" title="Pushes the client’s width/height to X11 and resizes the child window.">resize_client</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="l00060"></a>00060 
<a name="l00066"></a>00066 <span class="keywordtype">void</span> <a class="code" href="a00069.html#a2a1fee0aebdaf2497fb52ea57a1033a4" title="Renders the given container.">render_container</a>(xcb_connection_t *conn, <a class="code" href="a00013.html" title="A container is either in default, stacking or tabbed mode.">Container</a> *container);
<a name="l00067"></a>00067 
<a name="l00075"></a>00075 <span class="keywordtype">void</span> <a class="code" href="a00069.html#a8a6aa6f7ea9bdaae274ff67183940dce" title="Modifies the event mask of all clients on the given workspace to either ignore or...">ignore_enter_notify_forall</a>(xcb_connection_t *conn, <a class="code" href="a00025.html" title="The concept of Workspaces is known from various other window managers.">Workspace</a> *workspace,
<a name="l00076"></a>00076                                 <span class="keywordtype">bool</span> ignore_enter_notify);
<a name="l00077"></a>00077 
<a name="l00082"></a>00082 <span class="keywordtype">void</span> <a class="code" href="a00069.html#ab3e248d886080e290648c0d791a40b64" title="Renders the given workspace on the given screen.">render_workspace</a>(xcb_connection_t *conn, <a class="code" href="a00026.html" title="An Output is a physical output on your graphics driver.">Output</a> *output, <a class="code" href="a00025.html" title="The concept of Workspaces is known from various other window managers.">Workspace</a> *r_ws);
<a name="l00083"></a>00083 
<a name="l00092"></a>00092 <span class="keywordtype">void</span> <a class="code" href="a00069.html#a47ffef7db851301198762179187ac997" title="Renders the whole layout, that is: Go through each screen, each workspace, each container...">render_layout</a>(xcb_connection_t *conn);
<a name="l00093"></a>00093 
<a name="l00094"></a>00094 <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>