Commit 4b4bd31f authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Use long instead of int32_t when passing 32-bits value to XChangeProperty.

This seems to be the (stupid) way it has to be done - closes #670
parent 9c7f833f
......@@ -73,11 +73,11 @@ X11Window::X11Window( intf_thread_t *pIntf, GenericWindow &rWindow,
// Changing decorations
struct {
uint32_t flags;
uint32_t functions;
uint32_t decorations;
int32_t input_mode;
uint32_t status;
unsigned long flags;
unsigned long functions;
unsigned long decorations;
signed long input_mode;
unsigned long status;
} motifWmHints;
Atom hints_atom = XInternAtom( XDISPLAY, "_MOTIF_WM_HINTS", False );
motifWmHints.flags = 2; // MWM_HINTS_DECORATIONS;
......
......@@ -242,11 +242,11 @@ struct picture_sys_t
typedef struct mwmhints_t
{
uint32_t flags;
uint32_t functions;
uint32_t decorations;
int32_t input_mode;
uint32_t status;
unsigned long flags;
unsigned long functions;
unsigned long decorations;
signed long input_mode;
unsigned long status;
} mwmhints_t;
/*****************************************************************************
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment