From: Po Lu Date: Thu, 2 Jun 2022 07:49:50 +0000 (+0800) Subject: Fix macOS build X-Git-Tag: emacs-29.0.90~1910^2~285^2 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=76ffd4427d5ea037b0945ea0dae5d844add91f44;p=emacs.git Fix macOS build * src/nsterm.m (ns_mouse_position): Fix typos. --- diff --git a/src/nsterm.m b/src/nsterm.m index b7b7bc2ad34..ecaca5b87fa 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -2337,8 +2337,8 @@ ns_mouse_position (struct frame **fp, int insist, Lisp_Object *bar_window, belowWindowWithWindowNumber: window_number]; w = [NSApp windowWithWindowNumber: window_number]; - if (EQ (EQ (track_mouse, Qdrag_source) - || EQ (track_mouse, Qdropping)) + if ((EQ (track_mouse, Qdrag_source) + || EQ (track_mouse, Qdropping)) && w && [[w delegate] isKindOfClass: [EmacsTooltip class]]) continue;