Sophie

Sophie

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

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/randr.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/randr.h</h1><a href="a00048.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-2010 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 &quot;<a class="code" href="a00036.html">data.h</a>&quot;</span>
<a name="l00012"></a>00012 <span class="preprocessor">#include &lt;xcb/randr.h&gt;</span>
<a name="l00013"></a>00013 
<a name="l00014"></a>00014 <span class="preprocessor">#ifndef _RANDR_H</span>
<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define _RANDR_H</span>
<a name="l00016"></a>00016 <span class="preprocessor"></span>
<a name="l00017"></a>00017 <a class="code" href="a00047.html#a4abce769a262e090c1f601605b9d6c76">TAILQ_HEAD</a>(outputs_head, <a class="code" href="a00026.html" title="An Output is a physical output on your graphics driver.">xoutput</a>);
<a name="l00018"></a>00018 <span class="keyword">extern</span> <span class="keyword">struct </span>outputs_head <a class="code" href="a00073.html#a9fecba0738529e3d9ff0d4fa7c31ffa9">outputs</a>;
<a name="l00019"></a>00019 
<a name="l00025"></a>00025 <span class="keywordtype">void</span> <a class="code" href="a00073.html#a6a7a017cf0668c2b9aba5011bdd7e9f3" title="We have just established a connection to the X server and need the initial XRandR...">initialize_randr</a>(xcb_connection_t *conn, <span class="keywordtype">int</span> *event_base);
<a name="l00026"></a>00026 
<a name="l00032"></a>00032 <span class="keywordtype">void</span> <a class="code" href="a00073.html#a0d7c5d1d6273f607dc9285621e988e08" title="Disables RandR support by creating exactly one output with the size of the X11 screen...">disable_randr</a>(xcb_connection_t *conn);
<a name="l00033"></a>00033 
<a name="l00038"></a>00038 <span class="keywordtype">void</span> <a class="code" href="a00073.html#a3b4d451b80a25c4d2df53a45f85ee637" title="Initializes the specified output, assigning the specified workspace to it.">initialize_output</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> *workspace);
<a name="l00039"></a>00039 
<a name="l00044"></a>00044 <span class="keywordtype">void</span> <a class="code" href="a00073.html#ace31eff56142111b49e1e88608c8964a" title="(Re-)queries the outputs via RandR and stores them in the list of outputs.">randr_query_outputs</a>(xcb_connection_t *conn);
<a name="l00045"></a>00045 
<a name="l00050"></a>00050 <a class="code" href="a00026.html" title="An Output is a physical output on your graphics driver.">Output</a> *<a class="code" href="a00073.html#a514adc4dcfc06b1e9329e41633c65fb0" title="Returns the first output which is active.">get_first_output</a>();
<a name="l00051"></a>00051 
<a name="l00056"></a>00056 <a class="code" href="a00026.html" title="An Output is a physical output on your graphics driver.">Output</a> *<a class="code" href="a00073.html#a2c185a55a45ce9d522bc3b3b69e06132" title="Returns the output with the given name if it is active (!) or NULL.">get_output_by_name</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *name);
<a name="l00057"></a>00057 
<a name="l00063"></a>00063 <a class="code" href="a00026.html" title="An Output is a physical output on your graphics driver.">Output</a> *<a class="code" href="a00073.html#abb7e75366265212195afd09ab85235f6" title="Returns the active (!) output which contains the coordinates x, y or NULL if there...">get_output_containing</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> <a class="code" href="a00068.html#a16e56e533e1eb98fda15e06fdec03da6">y</a>);
<a name="l00064"></a>00064 
<a name="l00073"></a>00073 <a class="code" href="a00026.html" title="An Output is a physical output on your graphics driver.">Output</a> *<a class="code" href="a00073.html#ab437b557cdb16bda702e52c99efcfe4a" title="Gets the output which is the last one in the given direction, for example the output...">get_output_most</a>(<a class="code" href="a00036.html#ae9ae980041e438eed7a3af43ce4e9f6b">direction_t</a> direction, <a class="code" href="a00026.html" title="An Output is a physical output on your graphics driver.">Output</a> *current);
<a name="l00074"></a>00074 
<a name="l00075"></a>00075 <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>