diff options
author | Jonas Ã…dahl <jadahl@gmail.com> | 2016-09-16 15:42:37 +0800 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2016-09-30 06:40:30 -0400 |
commit | f7c0661a61f4fe46fa691ee2133a39877e110736 (patch) | |
tree | 94091194711538a7b193aa5e52d13b1f82b75f7d | |
parent | 13e00b70c08d85750784ea014080d1ce52604dac (diff) | |
download | gtk+-f7c0661a61f4fe46fa691ee2133a39877e110736.tar.gz |
wayland: Only 'moved-to-rect' if move_to_rect() was used
Don't emit the 'moved-to-rect' signal if move_to_rect() was used.
https://bugzilla.gnome.org/show_bug.cgi?id=771516
-rw-r--r-- | gdk/wayland/gdkwindow-wayland.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdk/wayland/gdkwindow-wayland.c b/gdk/wayland/gdkwindow-wayland.c index 7dbb97951d..3e0abb12e6 100644 --- a/gdk/wayland/gdkwindow-wayland.c +++ b/gdk/wayland/gdkwindow-wayland.c @@ -1509,6 +1509,9 @@ xdg_popup_configure (void *data, g_return_if_fail (impl->transient_for); + if (impl->position_method != POSITION_METHOD_MOVE_TO_RECT) + return; + calculate_moved_to_rect_result (window, x, y, width, height, &flipped_rect, &final_rect, |