mirror of
https://projects.vdr-developer.org/git/vdr-plugin-softhddevice.git
synced 2023-10-10 19:16:51 +02:00
Support xcb_ewmh.h for xcb-util <0.3.8.
This commit is contained in:
parent
7f7de8678f
commit
81d7ef9755
18
video.c
18
video.c
@ -93,8 +93,24 @@
|
|||||||
#include <xcb/xcb_image.h>
|
#include <xcb/xcb_image.h>
|
||||||
#include <xcb/xcb_event.h>
|
#include <xcb/xcb_event.h>
|
||||||
#include <xcb/xcb_atom.h>
|
#include <xcb/xcb_atom.h>
|
||||||
#include <xcb/xcb_ewmh.h>
|
|
||||||
#include <xcb/xcb_icccm.h>
|
#include <xcb/xcb_icccm.h>
|
||||||
|
#ifdef XCB_ICCCM_NUM_WM_SIZE_HINTS_ELEMENTS
|
||||||
|
#include <xcb/xcb_ewmh.h>
|
||||||
|
#else // compatibility hack for old xcb-util
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Action on the _NET_WM_STATE property
|
||||||
|
*/
|
||||||
|
typedef enum
|
||||||
|
{
|
||||||
|
/* Remove/unset property */
|
||||||
|
XCB_EWMH_WM_STATE_REMOVE = 0,
|
||||||
|
/* Add/set property */
|
||||||
|
XCB_EWMH_WM_STATE_ADD = 1,
|
||||||
|
/* Toggle property */
|
||||||
|
XCB_EWMH_WM_STATE_TOGGLE = 2
|
||||||
|
} xcb_ewmh_wm_state_action_t;
|
||||||
|
#endif
|
||||||
#include <xcb/xcb_keysyms.h>
|
#include <xcb/xcb_keysyms.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user