From 7b9ad2ae7fcd075359d15ca3905a923c2c78c659 Mon Sep 17 00:00:00 2001 From: Brian Mattern Date: Sun, 28 Jul 2013 08:48:48 -0700 Subject: use correct element types for MWMHints From the XChangeProperty man page: "If the specified format is 32, the property data must be a long array." --- src/winwidget.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/winwidget.h b/src/winwidget.h index be5a761..89d5bcd 100644 --- a/src/winwidget.h +++ b/src/winwidget.h @@ -61,11 +61,11 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. /* Motif window hints */ typedef struct _mwmhints { - CARD32 flags; - CARD32 functions; - CARD32 decorations; - INT32 input_mode; - CARD32 status; + unsigned long flags; + unsigned long functions; + unsigned long decorations; + long input_mode; + unsigned long status; } MWMHints; enum win_type { -- cgit v1.2.3