gtk/gdk/wayland
Olivier Fourdan 4259aba883 wayland: avoid 0 width/height anchor rectangle
Passing a rectangle with zero width or height to xdg_shell-v6
set_anchor_rect() will cause a protocol error and terminate the client,
as with gedit when pressing the Win key.

Reason for this is because the rectangle used to set the anchor comes
from gtk_text_layout_get_iter_location() which uses the pango layout
width/height, which can be empty if there is not character at the given
location.

Make sure we don't use 0 as width or height as an anchor rectangle to
avoid the protocol error, and compensate the logical position of the
given rectangle if the size is changed, so that the actual position
remains as expected by the client.

https://bugzilla.gnome.org/show_bug.cgi?id=777176
2017-01-16 13:55:51 +01:00
..
protocol wayland: Get tiled state from gtk_shell instead of xdg_shell 2016-08-25 12:31:40 +08:00
gdkapplaunchcontext-wayland.c wayland: Formatting fixes 2015-02-28 00:02:30 -05:00
gdkcursor-wayland.c Reduce a warning to a message 2016-10-17 19:11:32 -04:00
gdkdevice-wayland.c API: gdk: Add gdk_window_new_popup() 2016-11-06 23:47:56 +01:00
gdkdisplay-wayland.c wayland: Add support for Vulkan renderer 2017-01-04 13:24:08 +01:00
gdkdisplay-wayland.h wayland: Warn when an application tries to map popup incorrectly 2016-09-02 18:56:03 +08:00
gdkdnd-wayland.c API: gdk: Add gdk_window_new_popup() 2016-11-06 23:47:56 +01:00
gdkeventsource.c wayland: Don't warn if we loose the compositor connection 2016-11-30 13:45:04 -05:00
gdkglcontext-wayland.c wayland: Sync attributes also when drawing with GL 2016-12-06 18:02:11 +01:00
gdkglcontext-wayland.h gdk: Large GL refactoring 2016-12-05 15:02:47 +01:00
gdkkeys-wayland.c wayland: Avoid unitialized memory reads 2016-05-12 11:38:46 -04:00
gdkmonitor-wayland.c wayland: Port to new monitor api 2016-04-27 23:18:16 -04:00
gdkmonitor-wayland.h wayland: Port to new monitor api 2016-04-27 23:18:16 -04:00
gdkprivate-wayland.h wayland: Sync attributes also when drawing with GL 2016-12-06 18:02:11 +01:00
gdkscreen-wayland.c gdk/wayland: Handle non-existant gsettings keys 2017-01-10 15:17:32 +01:00
gdkseat-wayland.h wayland: Remove GdkWaylandDataDevice typedef 2016-03-21 17:15:59 +01:00
gdkselection-wayland.c wayland: Add some more debug spew 2016-08-25 00:13:13 -04:00
gdkvulkancontext-wayland.c vulkan: Use LGPL v2 2017-01-04 16:02:44 -02:00
gdkvulkancontext-wayland.h vulkan: Use LGPL v2 2017-01-04 16:02:44 -02:00
gdkwayland.h wayland: Port to new monitor api 2016-04-27 23:18:16 -04:00
gdkwaylanddevice.h wayland: Offer wayland-specific method to set pad actions feedback 2016-08-23 21:01:45 +02:00
gdkwaylanddisplay.h gdkdisplay-wayland: Add API to set startup notification ID 2016-11-09 14:18:14 -05:00
gdkwaylandglcontext.h GL: Follow naming conventions 2014-10-21 23:48:12 -04:00
gdkwaylandmonitor.h wayland: Port to new monitor api 2016-04-27 23:18:16 -04:00
gdkwaylandselection.h Drop gdk_wayland_drag_context_get_dnd_window 2015-12-02 00:47:53 -05:00
gdkwaylandwindow.h API: wayland: Add gdk_wayland_window_new_subsurface() 2016-11-06 21:36:43 +01:00
gdkwindow-wayland.c wayland: avoid 0 width/height anchor rectangle 2017-01-16 13:55:51 +01:00
Makefile.am wayland: Add support for Vulkan renderer 2017-01-04 13:24:08 +01: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