summaryrefslogtreecommitdiffstats
path: root/include/xcb-internal.h
blob: 2f437d20687c070ddb89d201fcd13bacde0a5815 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#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;
    gboolean              has_xinerama;
};

#endif