summaryrefslogtreecommitdiffstats
path: root/src/x11_in_gtk2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/x11_in_gtk2.c')
-rw-r--r--src/x11_in_gtk2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/x11_in_gtk2.c b/src/x11_in_gtk2.c
index 43e1fa1..4b9e3cf 100644
--- a/src/x11_in_gtk2.c
+++ b/src/x11_in_gtk2.c
@@ -193,6 +193,7 @@ forward_size_request(SuilX11Wrapper* socket,
int width = allocation->width;
int height = allocation->height;
XSizeHints hints;
+ memset(&hints, 0, sizeof(hints));
XGetNormalHints(GDK_WINDOW_XDISPLAY(window),
(Window)socket->instance->ui_widget,
&hints);