popover: use GtkNative opaque region API
authorChristian Hergert <chergert@redhat.com>
Fri, 11 Feb 2022 00:54:32 +0000 (16:54 -0800)
committerChristian Hergert <chergert@redhat.com>
Fri, 11 Feb 2022 22:37:46 +0000 (14:37 -0800)
commitf3999f7ebf9dc31de1aea7e2249781521c81132f
tree0a22f5ea25273abddc0caf7ef83c4245a5ad9f77
parentf8e7ecfde17307ef3eb1e818746ed929d5f24489
popover: use GtkNative opaque region API

This updates GtkPopover to use the new GtkNative abstraction for
reporting opaque regions of the window, in hopes that it can speed
up compositors for things like animated lists, menu transitions,
and more.

Fixes #4689
gtk/gtkpopover.c