Files
gtk/gdk
Olivier Fourdan 19ce6a8bc5 gdkwindow: subsurface in gdk_window_get_parent()
When the GtkWidget hierarchy does not match the GdkWindow hierarchy, the
GtkWidget code may find a common ancestor that cannot be found while
traversing the GdkWindow tree using gdk_window_get_parent().

This happens with for example on Wayland, a GtkPopover has another
GtkPopover as parent, in this case, the GdkWindow parent is the root
window, whereas the GtkWidget parent is the other GtkPopover.

That confuses the gtk_widget_translate_coordinates() logic which will
bail out in this case and won't return the translated coordinates.

Make gdk_window_get_effective_parent() aware of subsurfaces and use the
transient_for which represents the actual parent (whereas the parent
might be pointing to the root window).

Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=774148
2017-03-30 15:46:25 +02:00
..
2017-01-08 03:46:30 +01:00
2017-03-15 07:18:48 -04:00
2017-03-30 09:15:29 -04:00
2017-03-23 16:15:00 +00:00
2017-01-08 03:46:30 +01:00
2017-01-18 04:13:56 +01:00
2016-10-24 09:18:53 +02:00
2016-10-24 09:18:53 +02:00
2016-08-23 21:01:44 +02:00
2016-08-23 21:01:44 +02:00
2016-08-23 21:01:44 +02:00
2016-10-16 18:17:21 +02:00
2016-12-09 14:59:46 -05:00
2016-12-05 15:02:47 +01:00
2016-04-30 21:06:38 -04:00
2016-12-09 18:35:51 +01:00
2017-01-19 13:21:12 -05:00
2016-05-08 15:34:28 +02:00
2016-04-27 23:18:16 -04:00
2016-12-09 18:35:51 +01:00
2016-12-16 12:35:03 +01:00
2017-01-08 03:46:30 +01:00