macos: check for best_monitor before using
authorChristian Hergert <christian@hergert.me>
Mon, 28 Feb 2022 21:57:29 +0000 (13:57 -0800)
committerChristian Hergert <chergert@redhat.com>
Wed, 16 Mar 2022 19:24:11 +0000 (12:24 -0700)
commit7369ce58da7c5beda6e5f385cf0f7c09a8089b0a
tree2ce52ad168174a71a7b712d6976b5a50116542f4
parentc7a6d1e8bfc07cc33a61953fcd02c6793b8b9401
macos: check for best_monitor before using

Make sure we have a monitor to enqueue/dequeue from before using it. That
also allows us to use this from destroy and what-not.
gdk/macos/gdkmacossurface.c