Commit 23b629e2 authored by Carlos Garnacho's avatar Carlos Garnacho
Browse files

x11: Initialize GdkWindowAttr struct memory

Valgrind complains about jumps based on uninitialized values
otherwise.
parent 48fbe513
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment