x11: Replace the hardcoded DND filter
authorBenjamin Otte <otte@redhat.com>
Wed, 6 Jun 2018 02:55:55 +0000 (04:55 +0200)
committerBenjamin Otte <otte@redhat.com>
Mon, 18 Jun 2018 21:49:52 +0000 (23:49 +0200)
commit5e159e2ca06f21b41a9be31ebaecfdac0ff01f67
tree7c02b4c2379a8bb833b30d9bdf0144592e1216f3
parent392071b66d30954be82d01140ab2fd7a1ad2ee80
x11: Replace the hardcoded DND filter

Use the new method of connecting to the xevent signal instead.

Also, don't consume the xevent, there might be other code listening for
it. And we don't use PropertyNotify in the generic code path anymore, so
it'll just be ignored there.
gdk/x11/gdkdnd-x11.c
gdk/x11/gdkeventsource.c
gdk/x11/gdkprivate-x11.h