Fix compilation with xcb 0.3.6
This commit is contained in:
parent
1c2c22d117
commit
06ba1c0e65
|
@ -12,6 +12,10 @@
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
//#include "outputs.h"
|
//#include "outputs.h"
|
||||||
|
|
||||||
|
#ifdef XCB_COMPAT
|
||||||
|
#define XCB_ATOM_CARDINAL CARDINAL
|
||||||
|
#endif
|
||||||
|
|
||||||
#define _NET_SYSTEM_TRAY_ORIENTATION_HORZ 0
|
#define _NET_SYSTEM_TRAY_ORIENTATION_HORZ 0
|
||||||
#define _NET_SYSTEM_TRAY_ORIENTATION_VERT 1
|
#define _NET_SYSTEM_TRAY_ORIENTATION_VERT 1
|
||||||
#define SYSTEM_TRAY_REQUEST_DOCK 0
|
#define SYSTEM_TRAY_REQUEST_DOCK 0
|
||||||
|
|
|
@ -5,7 +5,6 @@ ATOM_DO(I3_SOCKET_PATH)
|
||||||
ATOM_DO(MANAGER)
|
ATOM_DO(MANAGER)
|
||||||
ATOM_DO(_NET_SYSTEM_TRAY_ORIENTATION)
|
ATOM_DO(_NET_SYSTEM_TRAY_ORIENTATION)
|
||||||
ATOM_DO(_NET_SYSTEM_TRAY_VISUAL)
|
ATOM_DO(_NET_SYSTEM_TRAY_VISUAL)
|
||||||
ATOM_DO(CARDINAL)
|
|
||||||
ATOM_DO(_NET_SYSTEM_TRAY_OPCODE)
|
ATOM_DO(_NET_SYSTEM_TRAY_OPCODE)
|
||||||
ATOM_DO(_XEMBED_INFO)
|
ATOM_DO(_XEMBED_INFO)
|
||||||
ATOM_DO(_XEMBED)
|
ATOM_DO(_XEMBED)
|
||||||
|
|
|
@ -930,7 +930,7 @@ void init_tray() {
|
||||||
XCB_PROP_MODE_REPLACE,
|
XCB_PROP_MODE_REPLACE,
|
||||||
selwin,
|
selwin,
|
||||||
atoms[_NET_SYSTEM_TRAY_ORIENTATION],
|
atoms[_NET_SYSTEM_TRAY_ORIENTATION],
|
||||||
atoms[CARDINAL],
|
XCB_ATOM_CARDINAL,
|
||||||
32,
|
32,
|
||||||
1,
|
1,
|
||||||
&orientation);
|
&orientation);
|
||||||
|
|
Loading…
Reference in New Issue