GNOME Bugzilla – Bug 795970
waylandsink: Don't create throwaway empty regions
Last modified: 2018-11-03 14:22:38 UTC
Any argument annotated with allow-null="true" in the Wayland protocol can have literal NULL passed to it.
Created attachment 371840 [details] [review] waylandsink: Don't create throwaway empty regions Instead of creating a region, adding nothing to it, setting that as the input region and destroying the region, you can instead just pass NULL to wl_surface_set_input_region for the same effect.
Review of attachment 371840 [details] [review]: Ah, that is good to know, thanks. George and I a on vacation, feel free to merge anyone.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/702.