Commit ac6c6b03 authored by Benjamin Otte's avatar Benjamin Otte

gtk: Fix warnings for dnd code without XInput

parent e9ff457a
......@@ -465,7 +465,7 @@ grab_dnd_keys (GtkWidget *widget,
}
gdk_flush ();
gdk_error_trap_pop ();
gdk_error_trap_pop_ignored ();
gdk_window_add_filter (NULL, root_key_filter, (gpointer) GDK_WINDOW_XID (window));
}
......@@ -495,7 +495,7 @@ ungrab_dnd_keys (GtkWidget *widget,
}
gdk_flush ();
gdk_error_trap_pop ();
gdk_error_trap_pop_ignored ();
}
#else /* GDK_WINDOWING_X11 && !XINPUT_2 */
......
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