From c2bc695d398b0ec78f59d77b10177a0f04ac08b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Moreau?= Date: Wed, 17 Aug 2011 16:57:21 -0400 Subject: [PATCH] xfreerdp: fix window decoration hiding --- client/X11/xf_window.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/client/X11/xf_window.c b/client/X11/xf_window.c index 100c89ca9..068b1e452 100644 --- a/client/X11/xf_window.c +++ b/client/X11/xf_window.c @@ -28,11 +28,11 @@ struct _PropMotifWmHints { - uint32 flags; - uint32 functions; - uint32 decorations; - sint32 inputMode; - uint32 status; + unsigned long flags; + unsigned long functions; + unsigned long decorations; + long inputMode; + unsigned long status; }; typedef struct _PropMotifWmHints PropMotifWmHints; @@ -141,7 +141,7 @@ void window_show_decorations(xfInfo* xfi, xfWindow* window, boolean show) hints.decorations = 0; hints.flags = MWM_HINTS_DECORATIONS; - atom = XInternAtom(xfi->display, "_MOTIF_WM_HINTS", False); + atom = XInternAtom(xfi->display, "_MOTIF_WM_HINTS", True); if (!atom) {