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

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Wed Nov 16 14:05:15 UTC 2016


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

            Bug ID: 774534
           Summary: [wayland] input shape and opaque region not applied
                    without begin_paint()/end_paint()
    Classification: Platform
           Product: gtk+
           Version: 3.22.x
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: Backend: Wayland
          Assignee: gtk-bugs at gtk.org
          Reporter: ofourdan at redhat.com
        QA Contact: gtk-bugs at gtk.org
                CC: rob at robster.org.uk, wayland-bugs at lists.freedesktop.org
     GNOME version: ---

Description:

When using the Wayland GDK backend, setting an opaque region (with
gdk_window_set_opaque_region()) or an input shape (with
gdk_window_input_shape_combine_region()) has no effect without
begin_paint()/end_paint().

Reason for this is the actual input_region and opaque_region are set/sync'ed
only from gdk_window_impl_wayland_end_paint().

If the caller is not using begin_paint()/end_paint(), the input_shape and
opaque_region are not applied.

This is a difference with the other backends such as x11 where the input_shape
and opaque_region are applied as soon as set with
gdk_window_set_opaque_region() and gdk_window_input_shape_combine_region()

-- 
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/20161116/c87e42f0/attachment.html>


More information about the wayland-bugs mailing list