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, ...@@ -73,11 +73,11 @@ X11Window::X11Window( intf_thread_t *pIntf, GenericWindow &rWindow,
// Changing decorations // Changing decorations
struct { struct {
uint32_t flags; unsigned long flags;
uint32_t functions; unsigned long functions;
uint32_t decorations; unsigned long decorations;
int32_t input_mode; signed long input_mode;
uint32_t status; unsigned long status;
} motifWmHints; } motifWmHints;
Atom hints_atom = XInternAtom( XDISPLAY, "_MOTIF_WM_HINTS", False ); Atom hints_atom = XInternAtom( XDISPLAY, "_MOTIF_WM_HINTS", False );
motifWmHints.flags = 2; // MWM_HINTS_DECORATIONS; motifWmHints.flags = 2; // MWM_HINTS_DECORATIONS;
......
...@@ -242,11 +242,11 @@ struct picture_sys_t ...@@ -242,11 +242,11 @@ struct picture_sys_t
typedef struct mwmhints_t typedef struct mwmhints_t
{ {
uint32_t flags; unsigned long flags;
uint32_t functions; unsigned long functions;
uint32_t decorations; unsigned long decorations;
int32_t input_mode; signed long input_mode;
uint32_t status; unsigned long status;
} mwmhints_t; } 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