diff options
Diffstat (limited to 'src/x11_in_gtk3.c')
-rw-r--r-- | src/x11_in_gtk3.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/x11_in_gtk3.c b/src/x11_in_gtk3.c index c21a23f..0ff0ead 100644 --- a/src/x11_in_gtk3.c +++ b/src/x11_in_gtk3.c @@ -196,6 +196,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); |