xfreerdp: fix window decoration hiding

This commit is contained in:
Marc-André Moreau 2011-08-17 16:57:21 -04:00
parent 257f3ac55b
commit c2bc695d39

View File

@ -28,11 +28,11 @@
struct _PropMotifWmHints struct _PropMotifWmHints
{ {
uint32 flags; unsigned long flags;
uint32 functions; unsigned long functions;
uint32 decorations; unsigned long decorations;
sint32 inputMode; long inputMode;
uint32 status; unsigned long status;
}; };
typedef struct _PropMotifWmHints PropMotifWmHints; typedef struct _PropMotifWmHints PropMotifWmHints;
@ -141,7 +141,7 @@ void window_show_decorations(xfInfo* xfi, xfWindow* window, boolean show)
hints.decorations = 0; hints.decorations = 0;
hints.flags = MWM_HINTS_DECORATIONS; hints.flags = MWM_HINTS_DECORATIONS;
atom = XInternAtom(xfi->display, "_MOTIF_WM_HINTS", False); atom = XInternAtom(xfi->display, "_MOTIF_WM_HINTS", True);
if (!atom) if (!atom)
{ {