1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-18 13:54:36 -05:00

Add missing files.

This commit is contained in:
Dave Davenport 2016-03-01 18:17:39 +01:00
parent 7d046a1f5b
commit 167e9d30ce
2 changed files with 32 additions and 0 deletions

23
include/xcb-internal.h Normal file
View file

@ -0,0 +1,23 @@
#ifndef ROFI_XCB_INTERNAL_H
#define ROFI_XCB_INTERNAL_H
#define SN_API_NOT_YET_FROZEN
#include <libsn/sn.h>
#include <xcb/xcb.h>
#include <xcb/xcb_ewmh.h>
/**
* Structure to keep xcb stuff around.
*/
struct _xcb_stuff
{
xcb_connection_t *connection;
xcb_ewmh_connection_t ewmh;
xcb_screen_t *screen;
int screen_nbr;
SnDisplay *sndisplay;
SnLauncheeContext *sncontext;
};
#endif

9
include/xcb.h Normal file
View file

@ -0,0 +1,9 @@
#ifndef ROFI_XCB_H
#define ROFI_XCB_H
typedef struct _xcb_stuff xcb_stuff;
extern xcb_stuff *xcb;
xcb_window_t xcb_stuff_get_root_window ( xcb_stuff *xcb );
#endif