i3
include/xcb_compat.h
Go to the documentation of this file.
00001 /*
00002  * vim:ts=4:sw=4:expandtab
00003  *
00004  * i3 - an improved dynamic tiling window manager
00005  * © 2009-2012 Michael Stapelberg and contributors (see also: LICENSE)
00006  *
00007  * xcb_compat.h: uses #define to create aliases for xcb functions which got
00008  *               renamed. Makes the code work with >= 0.3.8 xcb-util and
00009  *               older versions.
00010  *
00011  */
00012 #ifndef _XCB_COMPAT_H
00013 #define _XCB_COMPAT_H
00014 
00015 #define xcb_icccm_get_wm_protocols_reply_t xcb_get_wm_protocols_reply_t
00016 #define xcb_icccm_get_wm_protocols xcb_get_wm_protocols
00017 #define xcb_icccm_get_wm_protocols_unchecked xcb_get_wm_protocols_unchecked
00018 #define xcb_icccm_get_wm_protocols_reply xcb_get_wm_protocols_reply
00019 #define xcb_icccm_get_wm_protocols_reply_wipe xcb_get_wm_protocols_reply_wipe
00020 #define XCB_ICCCM_WM_STATE_NORMAL XCB_WM_STATE_NORMAL
00021 #define XCB_ICCCM_WM_STATE_WITHDRAWN XCB_WM_STATE_WITHDRAWN
00022 #define xcb_icccm_get_wm_size_hints_from_reply xcb_get_wm_size_hints_from_reply
00023 #define xcb_icccm_get_wm_normal_hints_reply xcb_get_wm_normal_hints_reply
00024 #define xcb_icccm_get_wm_normal_hints_unchecked xcb_get_wm_normal_hints_unchecked
00025 #define XCB_ICCCM_SIZE_HINT_P_MIN_SIZE XCB_SIZE_HINT_P_MIN_SIZE
00026 #define XCB_ICCCM_SIZE_HINT_P_RESIZE_INC XCB_SIZE_HINT_P_RESIZE_INC
00027 #define XCB_ICCCM_SIZE_HINT_BASE_SIZE XCB_SIZE_HINT_BASE_SIZE
00028 #define XCB_ICCCM_SIZE_HINT_P_ASPECT XCB_SIZE_HINT_P_ASPECT
00029 #define xcb_icccm_wm_hints_t xcb_wm_hints_t
00030 #define xcb_icccm_get_wm_hints xcb_get_wm_hints
00031 #define xcb_icccm_get_wm_hints_from_reply xcb_get_wm_hints_from_reply
00032 #define xcb_icccm_get_wm_hints_reply xcb_get_wm_hints_reply
00033 #define xcb_icccm_get_wm_hints_unchecked xcb_get_wm_hints_unchecked
00034 #define xcb_icccm_wm_hints_get_urgency xcb_wm_hints_get_urgency
00035 #define xcb_icccm_get_wm_transient_for_from_reply xcb_get_wm_transient_for_from_reply
00036 
00037 #define XCB_ATOM_CARDINAL CARDINAL
00038 #define XCB_ATOM_WINDOW WINDOW
00039 #define XCB_ATOM_WM_TRANSIENT_FOR WM_TRANSIENT_FOR
00040 #define XCB_ATOM_WM_NAME WM_NAME
00041 #define XCB_ATOM_WM_CLASS WM_CLASS
00042 #define XCB_ATOM_WM_HINTS WM_HINTS
00043 #define XCB_ATOM_ATOM ATOM
00044 #define XCB_ATOM_WM_NORMAL_HINTS WM_NORMAL_HINTS
00045 #define XCB_ATOM_STRING STRING
00046 
00047 #endif