summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnaud Fontaine <arnau@debian.org>2009-12-12 17:37:08 +0100
committerArnaud Fontaine <arnau@debian.org>2010-08-09 16:06:30 -0500
commit1d5ccbafdc2b50229e180f48d2669c18b96cf9af (patch)
tree7696fddba0fc772780f65cec0381dfcf288ba9fd
parenta0a033c3c68965569153c1517cb10b49ded00890 (diff)
Fix indentation and untabify
-rw-r--r--ewmh/ewmh.c.m438
-rw-r--r--ewmh/xcb_ewmh.h.m4208
2 files changed, 123 insertions, 123 deletions
diff --git a/ewmh/ewmh.c.m4 b/ewmh/ewmh.c.m4
index ed205f1..7e25aa5 100644
--- a/ewmh/ewmh.c.m4
+++ b/ewmh/ewmh.c.m4
@@ -126,7 +126,7 @@ static ewmh_atom_t ewmh_atoms[] = {dnl
xcb_get_property_reply_t *r) \
{ \
if(!r || r->type != atype || r->format != 32 || \
- xcb_get_property_value_length(r) != sizeof(ctype)) \
+ xcb_get_property_value_length(r) != sizeof(ctype)) \
return 0; \
\
*atom_value = *((ctype *) xcb_get_property_value(r)); \
@@ -217,7 +217,7 @@ DO_REPLY_SINGLE_VALUE(cardinal, CARDINAL, uint32_t)
* Macro defining a generic function for reply containing a list of
* values and also defines a function to wipe the reply.
*/
-#define DO_REPLY_LIST_VALUES(fname, atype, ctype) \
+#define DO_REPLY_LIST_VALUES(fname, atype, ctype) \
uint8_t \
xcb_ewmh_get_##fname##_from_reply(xcb_ewmh_get_##fname##_reply_t *data, \
xcb_get_property_reply_t *r) \
@@ -743,7 +743,7 @@ xcb_ewmh_set_desktop_layout(xcb_ewmh_connection_t *ewmh,
return xcb_change_property(ewmh->connection, XCB_PROP_MODE_REPLACE, ewmh->root,
ewmh->_NET_DESKTOP_LAYOUT, CARDINAL, 32,
- countof(data), data);
+ countof(data), data);
}
xcb_void_cookie_t
@@ -929,22 +929,22 @@ DO_LIST_VALUES(wm_allowed_actions, _NET_WM_ALLOWED_ACTIONS, ATOM, atom)
xcb_void_cookie_t
xcb_ewmh_set_wm_strut(xcb_ewmh_connection_t *ewmh,
- xcb_window_t window,
- uint32_t left, uint32_t right,
- uint32_t top, uint32_t bottom)
+ xcb_window_t window,
+ uint32_t left, uint32_t right,
+ uint32_t top, uint32_t bottom)
{
const uint32_t data[] = { left, right, top, bottom };
return xcb_change_property(ewmh->connection, XCB_PROP_MODE_REPLACE, window,
ewmh->_NET_WM_STRUT, CARDINAL, 32, countof(data),
- data);
+ data);
}
xcb_void_cookie_t
xcb_ewmh_set_wm_strut_checked(xcb_ewmh_connection_t *ewmh,
- xcb_window_t window,
- uint32_t left, uint32_t right,
- uint32_t top, uint32_t bottom)
+ xcb_window_t window,
+ uint32_t left, uint32_t right,
+ uint32_t top, uint32_t bottom)
{
const uint32_t data[] = { left, right, top, bottom };
@@ -962,22 +962,22 @@ DO_REPLY_STRUCTURE(wm_strut, xcb_ewmh_get_extents_reply_t)
xcb_void_cookie_t
xcb_ewmh_set_wm_strut_partial(xcb_ewmh_connection_t *ewmh,
- xcb_window_t window,
- xcb_ewmh_wm_strut_partial_t wm_strut)
+ xcb_window_t window,
+ xcb_ewmh_wm_strut_partial_t wm_strut)
{
return xcb_change_property(ewmh->connection, XCB_PROP_MODE_REPLACE, window,
ewmh->_NET_WM_STRUT_PARTIAL, CARDINAL, 32, 12,
- &wm_strut);
+ &wm_strut);
}
xcb_void_cookie_t
xcb_ewmh_set_wm_strut_partial_checked(xcb_ewmh_connection_t *ewmh,
- xcb_window_t window,
- xcb_ewmh_wm_strut_partial_t wm_strut)
+ xcb_window_t window,
+ xcb_ewmh_wm_strut_partial_t wm_strut)
{
return xcb_change_property_checked(ewmh->connection, XCB_PROP_MODE_REPLACE,
window, ewmh->_NET_WM_STRUT_PARTIAL,
- CARDINAL, 32, 12, &wm_strut);
+ CARDINAL, 32, 12, &wm_strut);
}
DO_GET_PROPERTY(wm_strut_partial, _NET_WM_STRUT_PARTIAL, CARDINAL, 12)
@@ -1010,7 +1010,7 @@ xcb_ewmh_set_wm_icon_geometry(xcb_ewmh_connection_t *ewmh,
return xcb_change_property(ewmh->connection, XCB_PROP_MODE_REPLACE, window,
ewmh->_NET_WM_ICON_GEOMETRY, CARDINAL, 32,
- countof(data), data);
+ countof(data), data);
}
DO_GET_PROPERTY(wm_icon_geometry, _NET_WM_ICON_GEOMETRY, CARDINAL, 4)
@@ -1139,7 +1139,7 @@ xcb_ewmh_set_frame_extents(xcb_ewmh_connection_t *ewmh,
return xcb_change_property(ewmh->connection, XCB_PROP_MODE_REPLACE, window,
ewmh->_NET_FRAME_EXTENTS, CARDINAL, 32,
- countof(data), data);
+ countof(data), data);
}
xcb_void_cookie_t
@@ -1190,7 +1190,7 @@ xcb_ewmh_set_wm_sync_request_counter(xcb_ewmh_connection_t *ewmh,
return xcb_change_property(ewmh->connection, XCB_PROP_MODE_REPLACE, window,
ewmh->_NET_WM_SYNC_REQUEST, CARDINAL, 32,
- countof(data), data);
+ countof(data), data);
}
xcb_void_cookie_t
diff --git a/ewmh/xcb_ewmh.h.m4 b/ewmh/xcb_ewmh.h.m4
index 1526a30..b4e4c86 100644
--- a/ewmh/xcb_ewmh.h.m4
+++ b/ewmh/xcb_ewmh.h.m4
@@ -48,9 +48,9 @@
#include <xcb/xcb.h>
-/* #ifdef __cplusplus */
-/* extern "C" { */
-/* #endif */
+#ifdef __cplusplus
+extern "C" {
+#endif
/**
* @brief Hold EWMH information specific to a screen
@@ -383,20 +383,20 @@ xcb_void_cookie_t xcb_ewmh_send_client_message(xcb_connection_t *c,
const uint32_t *data);
uint8_t xcb_ewmh_get_window_from_reply(xcb_window_t *window,
- xcb_get_property_reply_t *r);
+ xcb_get_property_reply_t *r);
uint8_t xcb_ewmh_get_window_reply(xcb_ewmh_connection_t *ewmh,
- xcb_get_property_cookie_t cookie,
- xcb_window_t *window,
- xcb_generic_error_t **e);
+ xcb_get_property_cookie_t cookie,
+ xcb_window_t *window,
+ xcb_generic_error_t **e);
uint8_t xcb_ewmh_get_cardinal_from_reply(uint32_t *cardinal,
- xcb_get_property_reply_t *r);
+ xcb_get_property_reply_t *r);
uint8_t xcb_ewmh_get_cardinal_reply(xcb_ewmh_connection_t *ewmh,
- xcb_get_property_cookie_t cookie,
- uint32_t *cardinal,
- xcb_generic_error_t **e);
+ xcb_get_property_cookie_t cookie,
+ uint32_t *cardinal,
+ xcb_generic_error_t **e);
/**
* @brief Get a list of atoms from a given GetProperty reply whose
@@ -801,7 +801,7 @@ xcb_get_property_cookie_t xcb_ewmh_get_number_of_desktops(xcb_ewmh_connection_t
*/
static inline uint8_t
xcb_ewmh_get_number_of_desktops_from_reply(uint32_t *number_of_desktops,
- xcb_get_property_reply_t *r)
+ xcb_get_property_reply_t *r)
{
return xcb_ewmh_get_cardinal_from_reply(number_of_desktops, r);
}
@@ -821,9 +821,9 @@ xcb_ewmh_get_number_of_desktops_from_reply(uint32_t *number_of_desktops,
*/
static inline uint8_t
xcb_ewmh_get_number_of_desktops_reply(xcb_ewmh_connection_t *ewmh,
- xcb_get_property_cookie_t cookie,
- uint32_t *number_of_desktops,
- xcb_generic_error_t **e)
+ xcb_get_property_cookie_t cookie,
+ uint32_t *number_of_desktops,
+ xcb_generic_error_t **e)
{
return xcb_ewmh_get_cardinal_reply(ewmh, cookie, number_of_desktops, e);
}
@@ -1056,7 +1056,7 @@ xcb_void_cookie_t xcb_ewmh_request_change_current_desktop(xcb_ewmh_connection_t
*/
static inline uint8_t
xcb_ewmh_get_current_desktop_from_reply(uint32_t *current_desktop,
- xcb_get_property_reply_t *r)
+ xcb_get_property_reply_t *r)
{
return xcb_ewmh_get_cardinal_from_reply(current_desktop, r);
}
@@ -1076,9 +1076,9 @@ xcb_ewmh_get_current_desktop_from_reply(uint32_t *current_desktop,
*/
static inline uint8_t
xcb_ewmh_get_current_desktop_reply(xcb_ewmh_connection_t *ewmh,
- xcb_get_property_cookie_t cookie,
- uint32_t *current_desktop,
- xcb_generic_error_t **e)
+ xcb_get_property_cookie_t cookie,
+ uint32_t *current_desktop,
+ xcb_generic_error_t **e)
{
return xcb_ewmh_get_cardinal_reply(ewmh, cookie, current_desktop, e);
}
@@ -1129,8 +1129,8 @@ xcb_get_property_cookie_t xcb_ewmh_get_desktop_names(xcb_ewmh_connection_t *ewmh
*/
static inline uint8_t
xcb_ewmh_get_desktop_names_from_reply(xcb_ewmh_connection_t *ewmh,
- xcb_ewmh_get_utf8_strings_reply_t *names,
- xcb_get_property_reply_t *r)
+ xcb_ewmh_get_utf8_strings_reply_t *names,
+ xcb_get_property_reply_t *r)
{
return xcb_ewmh_get_utf8_strings_from_reply(ewmh, names, r);
}
@@ -1150,9 +1150,9 @@ xcb_ewmh_get_desktop_names_from_reply(xcb_ewmh_connection_t *ewmh,
*/
static inline uint8_t
xcb_ewmh_get_desktop_names_reply(xcb_ewmh_connection_t *ewmh,
- xcb_get_property_cookie_t cookie,
- xcb_ewmh_get_utf8_strings_reply_t *names,
- xcb_generic_error_t **e)
+ xcb_get_property_cookie_t cookie,
+ xcb_ewmh_get_utf8_strings_reply_t *names,
+ xcb_generic_error_t **e)
{
return xcb_ewmh_get_utf8_strings_reply(ewmh, cookie, names, e);
}
@@ -1238,7 +1238,7 @@ xcb_get_property_cookie_t xcb_ewmh_get_active_window(xcb_ewmh_connection_t *ewmh
*/
static inline uint8_t
xcb_ewmh_get_active_window_from_reply(xcb_window_t *active_window,
- xcb_get_property_reply_t *r)
+ xcb_get_property_reply_t *r)
{
return xcb_ewmh_get_window_from_reply(active_window, r);
}
@@ -1258,9 +1258,9 @@ xcb_ewmh_get_active_window_from_reply(xcb_window_t *active_window,
*/
static inline uint8_t
xcb_ewmh_get_active_window_reply(xcb_ewmh_connection_t *ewmh,
- xcb_get_property_cookie_t cookie,
- xcb_window_t *active_window,
- xcb_generic_error_t **e)
+ xcb_get_property_cookie_t cookie,
+ xcb_window_t *active_window,
+ xcb_generic_error_t **e)
{
return xcb_ewmh_get_window_reply(ewmh, cookie, active_window, e);
}
@@ -1382,7 +1382,7 @@ xcb_get_property_cookie_t xcb_ewmh_get_supporting_wm_check(xcb_ewmh_connection_t
*/
static inline uint8_t
xcb_ewmh_get_supporting_wm_check_from_reply(xcb_window_t *window,
- xcb_get_property_reply_t *r)
+ xcb_get_property_reply_t *r)
{
return xcb_ewmh_get_window_from_reply(window, r);
}
@@ -1403,9 +1403,9 @@ xcb_ewmh_get_supporting_wm_check_from_reply(xcb_window_t *window,
*/
static inline uint8_t
xcb_ewmh_get_supporting_wm_check_reply(xcb_ewmh_connection_t *ewmh,
- xcb_get_property_cookie_t cookie,
- xcb_window_t *window,
- xcb_generic_error_t **e)
+ xcb_get_property_cookie_t cookie,
+ xcb_window_t *window,
+ xcb_generic_error_t **e)
{
return xcb_ewmh_get_window_reply(ewmh, cookie, window, e);
}
@@ -1526,16 +1526,16 @@ xcb_get_property_cookie_t xcb_ewmh_get_showing_desktop(xcb_ewmh_connection_t *ew
static inline uint8_t
xcb_ewmh_get_showing_desktop_from_reply(uint32_t *desktop,
- xcb_get_property_reply_t *r)
+ xcb_get_property_reply_t *r)
{
return xcb_ewmh_get_cardinal_from_reply(desktop, r);
}
static inline uint8_t
xcb_ewmh_get_showing_desktop_reply(xcb_ewmh_connection_t *ewmh,
- xcb_get_property_cookie_t cookie,
- uint32_t *desktop,
- xcb_generic_error_t **e)
+ xcb_get_property_cookie_t cookie,
+ uint32_t *desktop,
+ xcb_generic_error_t **e)
{
return xcb_ewmh_get_cardinal_reply(ewmh, cookie, desktop, e);
}
@@ -1599,8 +1599,8 @@ xcb_get_property_cookie_t xcb_ewmh_get_wm_name(xcb_ewmh_connection_t *ewmh,
static inline uint8_t
xcb_ewmh_get_wm_name_from_reply(xcb_ewmh_connection_t *ewmh,
- xcb_ewmh_get_utf8_strings_reply_t *data,
- xcb_get_property_reply_t *r)
+ xcb_ewmh_get_utf8_strings_reply_t *data,
+ xcb_get_property_reply_t *r)
{
return xcb_ewmh_get_utf8_strings_from_reply(ewmh, data, r);
}
@@ -1631,17 +1631,17 @@ xcb_get_property_cookie_t xcb_ewmh_get_wm_visible_name(xcb_ewmh_connection_t *ew
static inline uint8_t
xcb_ewmh_get_wm_visible_name_from_reply(xcb_ewmh_connection_t *ewmh,
- xcb_ewmh_get_utf8_strings_reply_t *data,
- xcb_get_property_reply_t *r)
+ xcb_ewmh_get_utf8_strings_reply_t *data,
+ xcb_get_property_reply_t *r)
{
return xcb_ewmh_get_utf8_strings_from_reply(ewmh, data, r);
}
static inline uint8_t
xcb_ewmh_get_wm_visible_name_reply(xcb_ewmh_connection_t *ewmh,
- xcb_get_property_cookie_t cookie,
- xcb_ewmh_get_utf8_strings_reply_t *data,
- xcb_generic_error_t **e)
+ xcb_get_property_cookie_t cookie,
+ xcb_ewmh_get_utf8_strings_reply_t *data,
+ xcb_generic_error_t **e)
{
return xcb_ewmh_get_utf8_strings_reply(ewmh, cookie, data, e);
}
@@ -1664,17 +1664,17 @@ xcb_get_property_cookie_t xcb_ewmh_get_wm_icon_name(xcb_ewmh_connection_t *ewmh,
static inline uint8_t
xcb_ewmh_get_wm_icon_name_from_reply(xcb_ewmh_connection_t *ewmh,
- xcb_ewmh_get_utf8_strings_reply_t *data,
- xcb_get_property_reply_t *r)
+ xcb_ewmh_get_utf8_strings_reply_t *data,
+ xcb_get_property_reply_t *r)
{
return xcb_ewmh_get_utf8_strings_from_reply(ewmh, data, r);
}
static inline uint8_t
xcb_ewmh_get_wm_icon_name_reply(xcb_ewmh_connection_t *ewmh,
- xcb_get_property_cookie_t cookie,
- xcb_ewmh_get_utf8_strings_reply_t *data,
- xcb_generic_error_t **e)
+ xcb_get_property_cookie_t cookie,
+ xcb_ewmh_get_utf8_strings_reply_t *data,
+ xcb_generic_error_t **e)
{
return xcb_ewmh_get_utf8_strings_reply(ewmh, cookie, data, e);
}
@@ -1697,17 +1697,17 @@ xcb_get_property_cookie_t xcb_ewmh_get_wm_visible_icon_name(xcb_ewmh_connection_
static inline uint8_t
xcb_ewmh_get_wm_visible_icon_name_from_reply(xcb_ewmh_connection_t *ewmh,
- xcb_ewmh_get_utf8_strings_reply_t *data,
- xcb_get_property_reply_t *r)
+ xcb_ewmh_get_utf8_strings_reply_t *data,
+ xcb_get_property_reply_t *r)
{
return xcb_ewmh_get_utf8_strings_from_reply(ewmh, data, r);
}
static inline uint8_t
xcb_ewmh_get_wm_visible_icon_name_reply(xcb_ewmh_connection_t *ewmh,
- xcb_get_property_cookie_t cookie,
- xcb_ewmh_get_utf8_strings_reply_t *data,
- xcb_generic_error_t **e)
+ xcb_get_property_cookie_t cookie,
+ xcb_ewmh_get_utf8_strings_reply_t *data,
+ xcb_generic_error_t **e)
{
return xcb_ewmh_get_utf8_strings_reply(ewmh, cookie, data, e);
}
@@ -1729,16 +1729,16 @@ xcb_get_property_cookie_t xcb_ewmh_get_wm_desktop(xcb_ewmh_connection_t *ewmh,
static inline uint8_t
xcb_ewmh_get_wm_desktop_from_reply(uint32_t *desktop,
- xcb_get_property_reply_t *r)
+ xcb_get_property_reply_t *r)
{
return xcb_ewmh_get_cardinal_from_reply(desktop, r);
}
static inline uint8_t
xcb_ewmh_get_wm_desktop_reply(xcb_ewmh_connection_t *ewmh,
- xcb_get_property_cookie_t cookie,
- uint32_t *desktop,
- xcb_generic_error_t **e)
+ xcb_get_property_cookie_t cookie,
+ uint32_t *desktop,
+ xcb_generic_error_t **e)
{
return xcb_ewmh_get_cardinal_reply(ewmh, cookie, desktop, e);
}
@@ -1828,50 +1828,50 @@ uint8_t xcb_ewmh_get_wm_allowed_actions_reply(xcb_ewmh_connection_t *ewmh,
xcb_generic_error_t **e);
xcb_void_cookie_t xcb_ewmh_set_wm_strut(xcb_ewmh_connection_t *ewmh,
- xcb_window_t window,
- uint32_t left, uint32_t right,
- uint32_t top, uint32_t bottom);
+ xcb_window_t window,
+ uint32_t left, uint32_t right,
+ uint32_t top, uint32_t bottom);
xcb_void_cookie_t xcb_ewmh_set_wm_strut_checked(xcb_ewmh_connection_t *ewmh,
- xcb_window_t window,
- uint32_t left, uint32_t right,
- uint32_t top, uint32_t bottom);
+ xcb_window_t window,
+ uint32_t left, uint32_t right,
+ uint32_t top, uint32_t bottom);
xcb_get_property_cookie_t xcb_ewmh_get_wm_strut_unchecked(xcb_ewmh_connection_t *ewmh,
- xcb_window_t window);
+ xcb_window_t window);
xcb_get_property_cookie_t xcb_ewmh_get_wm_strut(xcb_ewmh_connection_t *ewmh,
- xcb_window_t window);
+ xcb_window_t window);
uint8_t xcb_ewmh_get_wm_strut_from_reply(xcb_ewmh_get_extents_reply_t *struts,
- xcb_get_property_reply_t *r);
+ xcb_get_property_reply_t *r);
uint8_t xcb_ewmh_get_wm_strut_reply(xcb_ewmh_connection_t *ewmh,
- xcb_get_property_cookie_t cookie,
- xcb_ewmh_get_extents_reply_t *struts,
- xcb_generic_error_t **e);
+ xcb_get_property_cookie_t cookie,
+ xcb_ewmh_get_extents_reply_t *struts,
+ xcb_generic_error_t **e);
xcb_void_cookie_t xcb_ewmh_set_wm_strut_partial(xcb_ewmh_connection_t *ewmh,
- xcb_window_t window,
- xcb_ewmh_wm_strut_partial_t wm_strut);
+ xcb_window_t window,
+ xcb_ewmh_wm_strut_partial_t wm_strut);
xcb_void_cookie_t xcb_ewmh_set_wm_strut_partial_checked(xcb_ewmh_connection_t *ewmh,
- xcb_window_t window,
- xcb_ewmh_wm_strut_partial_t wm_strut);
+ xcb_window_t window,
+ xcb_ewmh_wm_strut_partial_t wm_strut);
xcb_get_property_cookie_t xcb_ewmh_get_wm_strut_partial_unchecked(xcb_ewmh_connection_t *ewmh,
- xcb_window_t window);
+ xcb_window_t window);
xcb_get_property_cookie_t xcb_ewmh_get_wm_strut_partial(xcb_ewmh_connection_t *ewmh,
- xcb_window_t window);
+ xcb_window_t window);
uint8_t xcb_ewmh_get_wm_strut_partial_from_reply(xcb_ewmh_wm_strut_partial_t *struts,
- xcb_get_property_reply_t *r);
+ xcb_get_property_reply_t *r);
uint8_t xcb_ewmh_get_wm_strut_partial_reply(xcb_ewmh_connection_t *ewmh,
- xcb_get_property_cookie_t cookie,
- xcb_ewmh_wm_strut_partial_t *struts,
- xcb_generic_error_t **e);
+ xcb_get_property_cookie_t cookie,
+ xcb_ewmh_wm_strut_partial_t *struts,
+ xcb_generic_error_t **e);
xcb_void_cookie_t xcb_ewmh_set_wm_icon_geometry(xcb_ewmh_connection_t *ewmh,
xcb_window_t window,
@@ -1939,46 +1939,46 @@ xcb_get_property_cookie_t xcb_ewmh_get_wm_pid(xcb_ewmh_connection_t *ewmh,
static inline uint8_t
xcb_ewmh_get_wm_pid_from_reply(uint32_t *pid,
- xcb_get_property_reply_t *r)
+ xcb_get_property_reply_t *r)
{
return xcb_ewmh_get_cardinal_from_reply(pid, r);
}
static inline uint8_t
xcb_ewmh_get_wm_pid_reply(xcb_ewmh_connection_t *ewmh,
- xcb_get_property_cookie_t cookie,
- uint32_t *pid,
- xcb_generic_error_t **e)
+ xcb_get_property_cookie_t cookie,
+ uint32_t *pid,
+ xcb_generic_error_t **e)
{
return xcb_ewmh_get_cardinal_reply(ewmh, cookie, pid, e);
}
xcb_void_cookie_t xcb_ewmh_set_wm_handled_icons(xcb_ewmh_connection_t *ewmh,
- xcb_window_t window,
- uint32_t handled_icons);
+ xcb_window_t window,
+ uint32_t handled_icons);
xcb_void_cookie_t xcb_ewmh_set_wm_handled_icons_checked(xcb_ewmh_connection_t *ewmh,
- xcb_window_t window,
- uint32_t handled_icons);
+ xcb_window_t window,
+ uint32_t handled_icons);
xcb_get_property_cookie_t xcb_ewmh_get_wm_handled_icons_unchecked(xcb_ewmh_connection_t *ewmh,
- xcb_window_t window);
+ xcb_window_t window);
xcb_get_property_cookie_t xcb_ewmh_get_wm_handled_icons(xcb_ewmh_connection_t *ewmh,
- xcb_window_t window);
+ xcb_window_t window);
static inline uint8_t
xcb_ewmh_get_wm_handled_icons_from_reply(uint32_t *handled_icons,
- xcb_get_property_reply_t *r)
+ xcb_get_property_reply_t *r)
{
return xcb_ewmh_get_cardinal_from_reply(handled_icons, r);
}
static inline uint8_t
xcb_ewmh_get_wm_handled_icons_reply(xcb_ewmh_connection_t *ewmh,
- xcb_get_property_cookie_t cookie,
- uint32_t *handled_icons,
- xcb_generic_error_t **e)
+ xcb_get_property_cookie_t cookie,
+ uint32_t *handled_icons,
+ xcb_generic_error_t **e)
{
return xcb_ewmh_get_cardinal_reply(ewmh, cookie, handled_icons, e);
}
@@ -1999,16 +1999,16 @@ xcb_get_property_cookie_t xcb_ewmh_get_wm_user_time(xcb_ewmh_connection_t *ewmh,
static inline uint8_t
xcb_ewmh_get_wm_user_time_from_reply(uint32_t *time,
- xcb_get_property_reply_t *r)
+ xcb_get_property_reply_t *r)
{
return xcb_ewmh_get_cardinal_from_reply(time, r);
}
static inline uint8_t
xcb_ewmh_get_wm_user_time_reply(xcb_ewmh_connection_t *ewmh,
- xcb_get_property_cookie_t cookie,
- uint32_t *time,
- xcb_generic_error_t **e)
+ xcb_get_property_cookie_t cookie,
+ uint32_t *time,
+ xcb_generic_error_t **e)
{
return xcb_ewmh_get_cardinal_reply(ewmh, cookie, time, e);
}
@@ -2029,16 +2029,16 @@ xcb_get_property_cookie_t xcb_ewmh_get_wm_user_time_window(xcb_ewmh_connection_t
static inline uint8_t
xcb_ewmh_get_wm_user_time_window_from_reply(uint32_t *time,
- xcb_get_property_reply_t *r)
+ xcb_get_property_reply_t *r)
{
return xcb_ewmh_get_cardinal_from_reply(time, r);
}
static inline uint8_t
xcb_ewmh_get_wm_user_time_window_reply(xcb_ewmh_connection_t *ewmh,
- xcb_get_property_cookie_t cookie,
- uint32_t *time,
- xcb_generic_error_t **e)
+ xcb_get_property_cookie_t cookie,
+ uint32_t *time,
+ xcb_generic_error_t **e)
{
return xcb_ewmh_get_cardinal_reply(ewmh, cookie, time, e);
}
@@ -2201,9 +2201,9 @@ uint8_t xcb_ewmh_get_wm_cm_owner_reply(xcb_ewmh_connection_t *ewmh,
xcb_window_t *owner,
xcb_generic_error_t **e);
-/* #ifdef __cplusplus */
-/* } */
-/* #endif */
+#ifdef __cplusplus
+}
+#endif
/**
* @}