macos: short-circuit on NSEventPhaseMayBegin
authorChristian Hergert <christian@hergert.me>
Mon, 28 Feb 2022 08:42:47 +0000 (00:42 -0800)
committerChristian Hergert <christian@hergert.me>
Mon, 28 Feb 2022 19:36:27 +0000 (11:36 -0800)
commit1e40033852633b62a751510f6c1aa6b83445e5b3
tree752f7670f6243904261a66bc3addbc1b6f39fad6
parent478bf453208247cd1159cee3ea4863f0ba3b109b
macos: short-circuit on NSEventPhaseMayBegin

We only need to send a single event in this case, so just short-circuit
instead of trying to return an additional event.
gdk/macos/gdkmacosdisplay-translate.c