gtk2/gdk/wayland
Carlos Garnacho 342db27278 wayland: protect against unknown mimetype requests
This oddly can be reproduced with weston+weston-dnd, when dragging
anything from GTK+ into weston-dnd, it will insist on picking its
custom application/x-wayland-dnd-flower mimetype, and this request
forwarded by the compositor, even if GTK+ didn't announce it on
its wl_data_source mimetype list. (What should probably happen here
is that the request is silenced, and/or weston-dnd picks (null))

This should be harmless, we are leaking though the fd in that case,
because the emission of GdkEventSelection on an unhandled mimetype
results in NOP. In order to avoid this, we should check whether the
mimetype is supported at all on the backend code and possibly close
the fd, this involves storing these in the first place.

https://bugzilla.gnome.org/show_bug.cgi?id=751414
2015-06-24 23:52:50 +02:00
..
protocol wayland: Add support for gtk_window_set_modal 2015-04-23 16:09:15 +08:00
gdkapplaunchcontext-wayland.c wayland: Formatting fixes 2015-02-28 00:02:30 -05:00
gdkcursor-wayland.c Wayland: Make css cursor names work 2015-05-08 13:34:25 -04:00
gdkdevice-wayland.c wayland: Ensure device grabs generate crossing/focus events 2015-06-24 18:15:46 +02:00
gdkdisplay-wayland.c wayland: Use on globals closure for loading cursor themes 2015-05-20 11:45:13 +08:00
gdkdisplay-wayland.h wayland: Add global object depedency tracking 2015-05-20 11:45:13 +08:00
gdkdnd-wayland.c wayland: Move DnD grab breaking function into gdkdevice-wayland.c 2015-06-02 18:09:49 +02:00
gdkeventsource.c wayland: Formatting fixes 2015-02-28 00:02:30 -05:00
gdkglcontext-wayland.c wayland: Formatting fixes 2015-02-28 00:02:30 -05:00
gdkglcontext-wayland.h gl: Drop profile for gdk_window_create_gl_context() 2015-02-12 12:34:28 +00:00
gdkkeys-wayland.c gdkkeys: Add support to _get_scroll_lock_state() 2015-04-27 20:07:52 -03:00
gdkprivate-wayland.h wayland: Move DnD grab breaking function into gdkdevice-wayland.c 2015-06-02 18:09:49 +02:00
gdkscreen-wayland.c wayland: Add more debug output 2015-04-09 00:13:37 -04:00
gdkselection-wayland.c wayland: protect against unknown mimetype requests 2015-06-24 23:52:50 +02:00
gdkwayland.h wayland: Formatting fixes 2015-02-28 00:02:30 -05:00
gdkwaylanddevice.h Add GDK_AVAILABLE_IN_ALL annotations in gdk 2013-05-05 15:38:46 -04:00
gdkwaylanddisplay.h wayland: fix rename of wl_shell to xdg_shell 2014-01-20 14:37:33 -05:00
gdkwaylandglcontext.h GL: Follow naming conventions 2014-10-21 23:48:12 -04:00
gdkwaylandselection.h wayland: Formatting fixes 2015-02-28 00:02:30 -05:00
gdkwaylandwindow.h wayland: Replace wl_shell_surface with xdg_shell 2013-11-18 13:44:20 -05:00
gdkwindow-wayland.c wayland: Always request transient commit when mapping subsurface 2015-06-17 17:41:31 +08:00
Makefile.am wayland: Add OpenGL support 2014-10-13 10:43:31 -04:00
wm-button-layout-translation.c wayland: Set gtk-decoration-layout 2014-06-06 15:32:59 +02:00
wm-button-layout-translation.h wayland: Set gtk-decoration-layout 2014-06-06 15:32:59 +02:00