1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-03 04:23:42 -05:00
rofi/include/xcb-internal.h
Dave Davenport df7468b491 Use XRandr to get monitor layout instead of xinerama.
* You can now specify monitor by name, or primary status.
2016-08-19 10:46:38 +02:00

25 lines
494 B
C

#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;
struct _workarea *monitors;
};
#endif