Start tracking changes

This commit is contained in:
Axel Wagner
2010-07-22 01:15:18 +02:00
commit 02df973564
16 changed files with 1607 additions and 0 deletions

24
i3bar/include/xcb.h Normal file
View File

@ -0,0 +1,24 @@
#ifndef XCB_H_
#define XCB_H_
#include <xcb/xcb.h>
#define NUM_ATOMS 3
enum {
#define ATOM_DO(name) name,
#include "xcb_atoms.def"
};
xcb_atom_t atoms[NUM_ATOMS];
xcb_connection_t* xcb_connection;
xcb_screen_t* xcb_screens;
xcb_window_t xcb_root;
void init_xcb();
void clean_xcb();
void get_atoms();
void create_windows();
#endif