]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix typos in last change
authorPo Lu <luangruo@yahoo.com>
Thu, 2 Jun 2022 05:37:52 +0000 (13:37 +0800)
committerPo Lu <luangruo@yahoo.com>
Thu, 2 Jun 2022 05:37:52 +0000 (13:37 +0800)
* src/xterm.c (handle_one_xevent): Fix typos.

src/xterm.c

index e5f0ec703cdb601c50aeefbe997f5efb4e9d08c7..cd6b6af58fe9c1269117daac706857574785e5eb 100644 (file)
@@ -16822,8 +16822,8 @@ handle_one_xevent (struct x_display_info *dpyinfo,
              /* But never if `mouse-drag-and-drop-region' is in
                 progress, since that results in the tooltip being
                 dismissed when the mouse moves on top.  */
-             && (!EQ (track_mouse, Qdrag_source)
-                 && gui_mouse_grabbed (dpyinfo)))
+             && !(EQ (track_mouse, Qdrag_source)
+                  && gui_mouse_grabbed (dpyinfo)))
            do_help = -1;
         }
 #ifdef USE_GTK
@@ -18163,8 +18163,8 @@ handle_one_xevent (struct x_display_info *dpyinfo,
                         in progress, since that results in the
                         tooltip being dismissed when the mouse moves
                         on top.  */
-                     && (!EQ (track_mouse, Qdrag_source)
-                         && gui_mouse_grabbed (dpyinfo)))
+                     && !(EQ (track_mouse, Qdrag_source)
+                          && gui_mouse_grabbed (dpyinfo)))
                    do_help = -1;
                }
 #ifdef USE_GTK