<!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/i3.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 Page</span></a></li> <li><a href="annotated.html"><span>Data 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 List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul> </div> <h1>include/i3.h</h1><a href="a00041.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 <xcb/xcb.h></span> <a name="l00012"></a>00012 <span class="preprocessor">#include <xcb/xcb_property.h></span> <a name="l00013"></a>00013 <span class="preprocessor">#include <xcb/xcb_event.h></span> <a name="l00014"></a>00014 <span class="preprocessor">#include <xcb/xcb_keysyms.h></span> <a name="l00015"></a>00015 <a name="l00016"></a>00016 <span class="preprocessor">#include <X11/XKBlib.h></span> <a name="l00017"></a>00017 <a name="l00018"></a>00018 <span class="preprocessor">#include "<a class="code" href="a00047.html">queue.h</a>"</span> <a name="l00019"></a>00019 <span class="preprocessor">#include "<a class="code" href="a00036.html">data.h</a>"</span> <a name="l00020"></a>00020 <a name="l00021"></a>00021 <span class="preprocessor">#ifndef _I3_H</span> <a name="l00022"></a>00022 <span class="preprocessor"></span><span class="preprocessor">#define _I3_H</span> <a name="l00023"></a>00023 <span class="preprocessor"></span> <a name="l00024"></a><a class="code" href="a00041.html#afe7f1cb6978a57f18167c0c7c7db4b12">00024</a> <span class="preprocessor">#define NUM_ATOMS 21</span> <a name="l00025"></a>00025 <span class="preprocessor"></span> <a name="l00026"></a>00026 <span class="keyword">extern</span> xcb_connection_t *<a class="code" href="a00071.html#ada13c42121d64521629e06e7a5e1db16">global_conn</a>; <a name="l00027"></a>00027 <span class="keyword">extern</span> xcb_key_symbols_t *<a class="code" href="a00071.html#a5cc0138ae2cf3bbb63a7cae907620797">keysyms</a>; <a name="l00028"></a>00028 <span class="keyword">extern</span> <span class="keywordtype">char</span> **<a class="code" href="a00071.html#adff3468c46bf36c35842552ad6cd220d">start_argv</a>; <a name="l00029"></a>00029 <span class="keyword">extern</span> Display *<a class="code" href="a00071.html#a3401bcd302be580b0500474e75726538">xkbdpy</a>; <a name="l00030"></a>00030 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="a00071.html#a2590f55d5727c7d1cd01ebe7fd94a05d">xkb_current_group</a>; <a name="l00031"></a>00031 <span class="keyword">extern</span> <a class="code" href="a00047.html#a4abce769a262e090c1f601605b9d6c76">TAILQ_HEAD</a>(bindings_head, <a class="code" href="a00003.html" title="Holds a keybinding, consisting of a keycode combined with modifiers and the command...">Binding</a>) *<a class="code" href="a00071.html#afe67646b6ee7ae51b130a59354fe7f49">bindings</a>; <a name="l00032"></a>00032 <span class="keyword">extern</span> <a class="code" href="a00047.html#a4abce769a262e090c1f601605b9d6c76">TAILQ_HEAD</a>(autostarts_head, <a class="code" href="a00002.html" title="Holds a command specified by an exec-line in the config (see src/config.c).">Autostart</a>) <a class="code" href="a00071.html#adc8cf28482f0bbe29f8bdcba0e32d16f">autostarts</a>; <a name="l00033"></a>00033 extern <a class="code" href="a00047.html#a4abce769a262e090c1f601605b9d6c76">TAILQ_HEAD</a>(assignments_head, <a class="code" href="a00001.html" title="Holds an assignment for a given window class/title to a specific workspace (see src/config...">Assignment</a>) <a class="code" href="a00071.html#af36d2f2cbc5487cf0e9e2d60165b3e89">assignments</a>; <a name="l00034"></a>00034 extern <a class="code" href="a00047.html#a8224e40ea764bc857bab6f6d9c357dd9">SLIST_HEAD</a>(stack_wins_head, <a class="code" href="a00023.html" title="Contains data for the windows needed to draw the titlebars on in stacking mode.">Stack_Window</a>) <a class="code" href="a00071.html#ac38e5cddf6395c52d3755d7b368e4a2b">stack_wins</a>; <a name="l00035"></a>00035 extern xcb_event_handlers_t <a class="code" href="a00071.html#a123feed3140395e51010f45a3268464c">evenths</a>; <a name="l00036"></a>00036 extern uint8_t <a class="code" href="a00071.html#a5cc2471a026cd3d2a8800e8ab2c9dcb7">root_depth</a>; <a name="l00037"></a>00037 extern <span class="keywordtype">bool</span> <a class="code" href="a00071.html#a213753c490c48df1df94aba1d4840eee">xkb_supported</a>; <a name="l00038"></a>00038 extern xcb_atom_t <a class="code" href="a00071.html#a327a6e1e08087496e9cb60b9e6f2a499">atoms</a>[<a class="code" href="a00041.html#afe7f1cb6978a57f18167c0c7c7db4b12">NUM_ATOMS</a>]; <a name="l00039"></a>00039 extern xcb_window_t <a class="code" href="a00071.html#a768f07da9e11ab88732a5c550ff49257">root</a>; <a name="l00040"></a>00040 <a name="l00041"></a>00041 <span class="preprocessor">#endif</span> </pre></div></div> <hr class="footer"/><address style="text-align: right;"><small>Generated by <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>