summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2009-10-20 15:59:41 -0700
committerJulien Danjou <julien@danjou.info>2009-10-21 09:40:14 +0200
commit155c99470961b38ed090ef1b4767c87ec1042386 (patch)
treeabe73412dd136fe7a107d0905f5d360b913107a4
parentde9f923e2a4a3a745077e0dd4b82787a969816e2 (diff)
Make xcb_icccm.h use the same type as icccm.c for gravity parameter
Fixes compiler error when building with Sun compilers due to redefining argument types of xcb_size_hints_set_win_gravity Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> Signed-off-by: Julien Danjou <julien@danjou.info>
-rw-r--r--icccm/xcb_icccm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/icccm/xcb_icccm.h b/icccm/xcb_icccm.h
index 0c6a895..2d80ffb 100644
--- a/icccm/xcb_icccm.h
+++ b/icccm/xcb_icccm.h
@@ -526,7 +526,7 @@ void xcb_size_hints_set_base_size(xcb_size_hints_t *hints, int32_t base_width,
* @param win_gravity Window gravity value.
*/
void xcb_size_hints_set_win_gravity(xcb_size_hints_t *hints,
- uint32_t win_gravity);
+ xcb_gravity_t win_gravity);
/**
* @brief Deliver a ChangeProperty request to set a value to a given property.