From: Eli Zaretskii Date: Wed, 16 Oct 2013 15:07:36 +0000 (+0300) Subject: Fix bug #15629 with GUI menus on NS. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~1246 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b911a94d7993508f8a53360a4be4651de30ea301;p=emacs.git Fix bug #15629 with GUI menus on NS. src/menu.c (have_boxes): Fix redundant simulation of radio buttons in NS GUI sessions. --- diff --git a/src/ChangeLog b/src/ChangeLog index 6b4660b2baf..4874187b3c0 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2013-10-16 Eli Zaretskii + + * menu.c (have_boxes): Fix redundant simulation of radio buttons + in NS GUI sessions. (Bug#15629) + 2013-10-16 Dmitry Antipov * fns.c (Fstring_as_unibyte): Use xlispstrdup. diff --git a/src/menu.c b/src/menu.c index d87d495f96b..96b8f73824a 100644 --- a/src/menu.c +++ b/src/menu.c @@ -55,7 +55,7 @@ extern HMENU current_popup_menu; static bool have_boxes (void) { -#if defined (USE_X_TOOLKIT) || defined (USE_GTK) || defined (HAVE_NTGUI) +#if defined (USE_X_TOOLKIT) || defined (USE_GTK) || defined (HAVE_NTGUI) || defined(HAVE_NS) if (FRAME_WINDOW_P (XFRAME (Vmenu_updating_frame))) return 1; #endif