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