2016-03-01 12:17:39 -05:00
|
|
|
#ifndef ROFI_XCB_INTERNAL_H
|
|
|
|
#define ROFI_XCB_INTERNAL_H
|
2016-10-15 09:39:08 -04:00
|
|
|
/** Indication we accept that startup notification api is not yet frozen */
|
2016-03-01 12:17:39 -05:00
|
|
|
#define SN_API_NOT_YET_FROZEN
|
|
|
|
#include <libsn/sn.h>
|
|
|
|
|
|
|
|
#include <xcb/xcb.h>
|
|
|
|
#include <xcb/xcb_ewmh.h>
|
2016-08-19 04:46:38 -04:00
|
|
|
|
2016-03-01 12:17:39 -05:00
|
|
|
/**
|
|
|
|
* 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;
|
2016-08-19 04:46:38 -04:00
|
|
|
struct _workarea *monitors;
|
2016-03-01 12:17:39 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|