projects
/
platform
/
upstream
/
freerdp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6934c18
)
Ensure that app windows always get a window type assigned to them.
author
bjcollins
<bcollins@trustedcs.com>
Thu, 15 Oct 2015 19:39:59 +0000
(14:39 -0500)
committer
bjcollins
<bcollins@trustedcs.com>
Thu, 15 Oct 2015 19:39:59 +0000
(14:39 -0500)
client/X11/xf_window.c
patch
|
blob
|
history
diff --git
a/client/X11/xf_window.c
b/client/X11/xf_window.c
index
b7a4663
..
802613c
100644
(file)
--- a/
client/X11/xf_window.c
+++ b/
client/X11/xf_window.c
@@
-567,9
+567,11
@@
void xf_SetWindowStyle(xfContext* xfc, xfAppWindow* appWindow, UINT32 style, UIN
}
else
{
- XChangeProperty(xfc->display, appWindow->handle, xfc->_NET_WM_WINDOW_TYPE,
- XA_ATOM, 32, PropModeReplace, (BYTE*) &window_type, 1);
+ window_type = xfc->_NET_WM_WINDOW_TYPE_NORMAL;
}
+
+ XChangeProperty(xfc->display, appWindow->handle, xfc->_NET_WM_WINDOW_TYPE,
+ XA_ATOM, 32, PropModeReplace, (BYTE*) &window_type, 1);
}
void xf_SetWindowText(xfContext* xfc, xfAppWindow* appWindow, char* name)