mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2025-06-03 00:00:20 +00:00
xfreerdp: fix window decoration hiding
This commit is contained in:
parent
257f3ac55b
commit
c2bc695d39
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user