Fix bug #15629 with GUI menus on NS.
authorEli Zaretskii <eliz@gnu.org>
Wed, 16 Oct 2013 15:07:36 +0000 (18:07 +0300)
committerEli Zaretskii <eliz@gnu.org>
Wed, 16 Oct 2013 15:07:36 +0000 (18:07 +0300)
 src/menu.c (have_boxes): Fix redundant simulation of radio buttons
 in NS GUI sessions.

src/ChangeLog
src/menu.c

index 6b4660b..4874187 100644 (file)
@@ -1,3 +1,8 @@
+2013-10-16  Eli Zaretskii  <eliz@gnu.org>
+
+       * menu.c (have_boxes): Fix redundant simulation of radio buttons
+       in NS GUI sessions.  (Bug#15629)
+
 2013-10-16  Dmitry Antipov  <dmantipov@yandex.ru>
 
        * fns.c (Fstring_as_unibyte): Use xlispstrdup.
index d87d495..96b8f73 100644 (file)
@@ -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