diff --git a/src/xdisp.c b/src/xdisp.c index b85fdb4d71e..8dc34b776c4 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -22636,7 +22636,7 @@ note_mouse_highlight (f, x, y) struct buffer *b; /* When a menu is active, don't highlight because this looks odd. */ -#if defined (USE_X_TOOLKIT) || defined (USE_GTK) || defined (HAVE_NTGUI) +#if defined (USE_X_TOOLKIT) || defined (USE_GTK) if (popup_activated ()) return; #endif