x11: Initialize GdkWindowAttr struct memory

Valgrind complains about jumps based on uninitialized values
otherwise.
This commit is contained in:
Carlos Garnacho 2016-01-07 18:55:04 +01:00
parent 48fbe5137e
commit 23b629e27c

View File

@ -1939,7 +1939,7 @@ gdk_drag_do_leave (GdkX11DragContext *context_x11,
static GdkWindow *
create_drag_window (GdkScreen *screen)
{
GdkWindowAttr attrs;
GdkWindowAttr attrs = { 0 };
guint mask;
attrs.x = attrs.y = 0;