gtk3/gdk/wayland
Olivier Fourdan 9a5ffcd1b5 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:36 +01:00
..
protocol
gdkapplaunchcontext-wayland.c
gdkcursor-wayland.c Reduce a warning to a message 2016-11-28 14:43:07 -05:00
gdkdevice-wayland.c
gdkdisplay-wayland.c
gdkdisplay-wayland.h wayland: Disable EGL swap interval 2017-01-09 19:04:23 +01:00
gdkdnd-wayland.c wayland: Add fake mimetype for local DnD cases 2017-01-09 19:04:23 +01:00
gdkeventsource.c wayland: Don't warn if we loose the compositor connection 2016-11-30 13:46:34 -05:00
gdkglcontext-wayland.c wayland: Disable EGL swap interval 2017-01-09 19:04:23 +01:00
gdkglcontext-wayland.h
gdkkeys-wayland.c
gdkmonitor-wayland.c
gdkmonitor-wayland.h
gdkprivate-wayland.h
gdkscreen-wayland.c gdk/wayland: Handle non-existant gsettings keys 2017-01-10 15:18:09 +01:00
gdkseat-wayland.h
gdkselection-wayland.c
gdkwayland.h
gdkwaylanddevice.h
gdkwaylanddisplay.h
gdkwaylandglcontext.h
gdkwaylandmonitor.h
gdkwaylandselection.h
gdkwaylandwindow.h
gdkwindow-wayland.c wayland: avoid 0 width/height anchor rectangle 2017-01-16 13:55:36 +01:00
Makefile.am
wm-button-layout-translation.c
wm-button-layout-translation.h