Sophie

Sophie

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

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: src/ewmh.c 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>src/ewmh.c File Reference</h1><code>#include &lt;stdint.h&gt;</code><br/>
<code>#include &lt;string.h&gt;</code><br/>
<code>#include &lt;stdlib.h&gt;</code><br/>
<code>#include &quot;<a class="el" href="a00036_source.html">data.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="a00051_source.html">table.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="a00041_source.html">i3.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="a00054_source.html">xcb.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="a00052_source.html">util.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="a00044_source.html">log.h</a>&quot;</code><br/>
<div class="dynheader">
Include dependency graph for ewmh.c:</div>
<div class="dynsection">
</div>

<p><a href="a00065_source.html">Go to the source code of this file.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<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="a00065.html#ae40835a49409f87f53ad4f7449b19b53">ewmh_update_current_desktop</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Updates _NET_CURRENT_DESKTOP with the current desktop number.  <a href="#ae40835a49409f87f53ad4f7449b19b53"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00065.html#a07da16d476a61d9ef63f31de1dc84700">ewmh_update_active_window</a> (xcb_window_t window)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Updates _NET_ACTIVE_WINDOW with the currently focused window.  <a href="#a07da16d476a61d9ef63f31de1dc84700"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00065.html#aefdaf6a17c2aa3979c49e3ff74cfee56">ewmh_update_workarea</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Updates the workarea for each desktop.  <a href="#aefdaf6a17c2aa3979c49e3ff74cfee56"></a><br/></td></tr>
</table>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="a07da16d476a61d9ef63f31de1dc84700"></a><!-- doxytag: member="ewmh.c::ewmh_update_active_window" ref="a07da16d476a61d9ef63f31de1dc84700" args="(xcb_window_t window)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ewmh_update_active_window </td>
          <td>(</td>
          <td class="paramtype">xcb_window_t&nbsp;</td>
          <td class="paramname"> <em>window</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Updates _NET_ACTIVE_WINDOW with the currently focused window. </p>
<p>EWMH: The window ID of the currently active window or None if no window has the focus. </p>

<p>Definition at line <a class="el" href="a00065_source.html#l00045">45</a> of file <a class="el" href="a00065_source.html">ewmh.c</a>.</p>

<p>References <a class="el" href="a00054_source.html#l00066">_NET_ACTIVE_WINDOW</a>, <a class="el" href="a00071_source.html#l00083">atoms</a>, <a class="el" href="a00071_source.html#l00058">global_conn</a>, and <a class="el" href="a00071_source.html#l00085">root</a>.</p>

<p>Referenced by <a class="el" href="a00072_source.html#l00151">reparent_window()</a>, and <a class="el" href="a00077_source.html#l00232">set_focus()</a>.</p>

</div>
</div>
<a class="anchor" id="ae40835a49409f87f53ad4f7449b19b53"></a><!-- doxytag: member="ewmh.c::ewmh_update_current_desktop" ref="ae40835a49409f87f53ad4f7449b19b53" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ewmh_update_current_desktop </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Updates _NET_CURRENT_DESKTOP with the current desktop number. </p>
<p>EWMH: The index of the current desktop. This is always an integer between 0 and _NET_NUMBER_OF_DESKTOPS - 1. </p>

<p>Definition at line <a class="el" href="a00065_source.html#l00031">31</a> of file <a class="el" href="a00065_source.html">ewmh.c</a>.</p>

<p>References <a class="el" href="a00054_source.html#l00065">_NET_CURRENT_DESKTOP</a>, <a class="el" href="a00071_source.html#l00083">atoms</a>, <a class="el" href="a00076_source.html#l00036">c_ws</a>, <a class="el" href="a00071_source.html#l00058">global_conn</a>, <a class="el" href="a00036_source.html#l00184">Workspace::num</a>, and <a class="el" href="a00071_source.html#l00085">root</a>.</p>

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

</div>
</div>
<a class="anchor" id="aefdaf6a17c2aa3979c49e3ff74cfee56"></a><!-- doxytag: member="ewmh.c::ewmh_update_workarea" ref="aefdaf6a17c2aa3979c49e3ff74cfee56" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ewmh_update_workarea </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Updates the workarea for each desktop. </p>
<p>EWMH: Contains a geometry for each desktop. These geometries specify an area that is completely contained within the viewport. Work area SHOULD be used by desktop applications to place desktop icons appropriately. </p>

<p>Definition at line <a class="el" href="a00065_source.html#l00058">58</a> of file <a class="el" href="a00065_source.html">ewmh.c</a>.</p>

<p>References <a class="el" href="a00054_source.html#l00067">_NET_WORKAREA</a>, <a class="el" href="a00071_source.html#l00083">atoms</a>, <a class="el" href="a00044_source.html#l00021">DLOG</a>, <a class="el" href="a00071_source.html#l00058">global_conn</a>, <a class="el" href="a00036_source.html#l00100">Rect::height</a>, <a class="el" href="a00076_source.html#l00033">num_workspaces</a>, <a class="el" href="a00036_source.html#l00199">Workspace::rect</a>, <a class="el" href="a00071_source.html#l00085">root</a>, <a class="el" href="a00077_source.html#l00068">smalloc()</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="a00076_source.html#l00034">workspaces</a>, <a class="el" href="a00036_source.html#l00097">Rect::x</a>, and <a class="el" href="a00036_source.html#l00098">Rect::y</a>.</p>

<p>Referenced by <a class="el" href="a00073_source.html#l00387">randr_query_outputs()</a>, <a class="el" href="a00078_source.html#l00223">workspace_assign_to()</a>, and <a class="el" href="a00078_source.html#l00039">workspace_get()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
</div>
</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>