summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Danjou <julien@danjou.info>2008-12-09 13:45:03 +0100
committerJulien Danjou <julien@danjou.info>2008-12-09 13:45:03 +0100
commit798f429c7e90c99e26bc692d5ab8bbc9dedc716a (patch)
tree9515360eb79cdd70705cfca984c258c7052b23fe
parent24da2934459c7811f77713a3c7aaa6691ad203f2 (diff)
icccm: fix gravity proto
Signed-off-by: Julien Danjou <julien@danjou.info>
-rw-r--r--icccm/icccm.c2
-rw-r--r--icccm/xcb_icccm.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/icccm/icccm.c b/icccm/icccm.c
index fedd66b..f711deb 100644
--- a/icccm/icccm.c
+++ b/icccm/icccm.c
@@ -381,7 +381,7 @@ xcb_size_hints_set_base_size(xcb_size_hints_t *hints, int32_t base_width,
}
void
-xcb_size_hints_set_win_gravity(xcb_size_hints_t *hints, uint8_t win_gravity)
+xcb_size_hints_set_win_gravity(xcb_size_hints_t *hints, uint32_t win_gravity)
{
hints->flags |= XCB_SIZE_HINT_P_WIN_GRAVITY;
hints->win_gravity = win_gravity;
diff --git a/icccm/xcb_icccm.h b/icccm/xcb_icccm.h
index 2e80633..8a9e7be 100644
--- a/icccm/xcb_icccm.h
+++ b/icccm/xcb_icccm.h
@@ -510,7 +510,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,
- uint8_t win_gravity);
+ uint32_t win_gravity);
/**
* @brief Deliver a ChangeProperty request to set a value to a given property.