summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Mattern <rephorm@rephorm.com>2013-07-28 08:48:48 -0700
committerBrian Mattern <rephorm@rephorm.com>2013-07-28 21:08:03 -0700
commit7b9ad2ae7fcd075359d15ca3905a923c2c78c659 (patch)
tree29cb073afe132ab1c1acf0ca15419f12fc36fbd2
parent520c79ab533a40a7bc3687df12b2b032290a3ef5 (diff)
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."
-rw-r--r--src/winwidget.h10
1 files 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 {