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