macos: do not focus new window when resigning main
authorChristian Hergert <christian@hergert.me>
Mon, 7 Mar 2022 22:31:23 +0000 (14:31 -0800)
committerChristian Hergert <chergert@redhat.com>
Wed, 16 Mar 2022 19:25:10 +0000 (12:25 -0700)
commitcb386ec2a26de106822c24fd3cc9a276c978d9ad
tree68cf4cd32eaf3a0c2dc2f64f52f96f35977ddfac
parent2f873052f9664f7abe50c33b94b6f81646b0b14f
macos: do not focus new window when resigning main

This can get in the way of how we track changes while events are actively
processing. Instead, we may want to delay this until the next main loop
idle and then check to see if we have a main window as the NSNotification
may have come in right after this.
gdk/macos/gdkmacosdisplay.c