[Xcb-commit] icccm

Julien Danjou jdanjou at kemper.freedesktop.org
Tue Dec 9 04:45:39 PST 2008


 icccm/icccm.c     |    2 +-
 icccm/xcb_icccm.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 798f429c7e90c99e26bc692d5ab8bbc9dedc716a
Author: Julien Danjou <julien at danjou.info>
Date:   Tue Dec 9 13:45:03 2008 +0100

    icccm: fix gravity proto
    
    Signed-off-by: Julien Danjou <julien at danjou.info>

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.


More information about the xcb-commit mailing list