[Wayland-bugs] [Bug 774534] [wayland] input shape and opaque region not applied without begin_paint()/end_paint()

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Tue Dec 6 13:41:09 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=774534

Olivier Fourdan <ofourdan at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #341050|0                           |1
        is obsolete|                            |

--- Comment #11 from Olivier Fourdan <ofourdan at redhat.com> ---
Created attachment 341478
  --> https://bugzilla.gnome.org/attachment.cgi?id=341478&action=edit
[PATCH] wayland: apply empty input shape on parent commit

For subsurfaces, the new state which includes the input shape is not
applied by the compositor if the subsurface is in effective synchronous
mode.

So we need to apply the input shape once parent surface is in effective
desynchronized mode, which is when it's committed, otherwise the input
shape may never be applied if the widget is not using being_paint() /
end_paint() to draw on its subsurface, like clutter does.

We do that only for empty input shape as those won't need update when
the subsurface is resized, for all other non-empty input shape, the
client still has to use begin_paint()/end_paint() for the input shape to
be applied.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20161206/f0e1be3b/attachment.html>


More information about the wayland-bugs mailing list