Skip to content

gdk/wayland: Avoid idempotent wl_subsurface.set_position calls

Carlos Garnacho requested to merge wip/carlosg/issue-844 into gtk-3-24

These may not result on wl_surface.frame callbacks, yet we do trigger a frame clock tick that would get stuck on the lack of such callback.

https://bugzilla.gnome.org/show_bug.cgi?id=784314 #844 (closed)

Closes: #844 (closed)


Given the mutter improvement still makes sense, I would like to move this patch forward. This is a new incarnation that fixes all the issues seen along the first try:

  • Completion windows don't get stuck
  • Video subsurface in totem is positioned correctly. Both fullscreen and not, and both on weston and mutter.

Merge request reports