forked from AuroraMiddleware/gtk
x11: Initialize GdkWindowAttr struct memory
Valgrind complains about jumps based on uninitialized values otherwise.
This commit is contained in:
parent
48fbe5137e
commit
23b629e27c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user