native: add API to update opaque region
authorChristian Hergert <chergert@redhat.com>
Fri, 11 Feb 2022 00:21:48 +0000 (16:21 -0800)
committerChristian Hergert <chergert@redhat.com>
Fri, 11 Feb 2022 22:37:43 +0000 (14:37 -0800)
commitcc49e044a52441fc1af9c89cce3d32b01ad1511f
treeef85ebc3c1e323686cf74bd7f88bf50802c542b7
parent90bccf4e822cdc31f57d7f77b73dbb5a1f9bd2a9
native: add API to update opaque region

This abstracts the machinery to update the opaque region for a GtkWindow
into GtkNative so it may be used from other native impelementations such
as GtkPopover.

Related #4689
gtk/gtknative.c
gtk/gtknativeprivate.h