[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:39:45 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=774534
--- Comment #10 from Olivier Fourdan <ofourdan at redhat.com> ---
<jadahl> ofourdan: i see, could we make that explicit maybe? instead of
sync... we do "wl_surface_set_input_region(empty)" with a comment
saying why its empty and its fine?
<ofourdan> jadahl: sorry I didn't quite get what you mean about making it
explicit
<jadahl> ofourdan: instead of using the sync function, just do it directly
with the special case (i.e. empty region) so that its obvious that
it won't break on resize
<ofourdan> I still don't get what you mean, do you mean in gdk or in clutter?
in clutter, we cannot as there is no api to retrieve the actual
wayland subsurface from gdk
<ofourdan> oh, you mean, same as now but only for the special case?
<jadahl> ofourdan: i meant in gdk, yes. make the special case more obvious by
making it explicit
<jadahl> ofourdan: since the fact that it'll get set to no-input is hidden
from the call site
<jadahl> ofourdan: as a matter of fact, we could set the input region very
early, so the first ever commit catches it (if there is any before
set_desync)
--
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/83d95dd3/attachment.html>
More information about the wayland-bugs
mailing list