macos: use input_region to specify tracking areas
authorChristian Hergert <christian@hergert.me>
Sat, 5 Feb 2022 01:24:13 +0000 (17:24 -0800)
committerChristian Hergert <christian@hergert.me>
Wed, 16 Feb 2022 11:07:51 +0000 (03:07 -0800)
commitf20740222883972826d9343c44284532dd377412
tree0740c3823681e2220d0de690845dc109798857dc
parenta080f1197a25b7108870ff9873c59c8e6e127190
macos: use input_region to specify tracking areas

We want our tracking area to be limited to the input region so that we
don't pass along events outside of them for the window. This improves the
chances we click-out of a popover with a large shadow.

This still doesn't let us pass-through clicks for large shadows on top-
level windows though.
gdk/macos/GdkMacosBaseView.c
gdk/macos/GdkMacosBaseView.h
gdk/macos/gdkmacossurface.c