]> git.eshelyaron.com Git - emacs.git/commitdiff
(popup_get_selection): Undo previous change.
authorRichard M. Stallman <rms@gnu.org>
Mon, 6 Jun 2005 12:56:53 +0000 (12:56 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 6 Jun 2005 12:56:53 +0000 (12:56 +0000)
src/xmenu.c

index 6e3a21604c10886e548ae8532bac56bf53b4ab50..6f758d12fc745a4f12f8d9067a83be9a2cd0f5d7 100644 (file)
@@ -1235,10 +1235,6 @@ popup_get_selection (initial_event, dpyinfo, id, do_timers)
       if (event.type == ButtonRelease
           && dpyinfo->display == event.xbutton.display)
         {
-         /* If the click is not on the menu, deactivate the menu.  */
-         if (x_any_window_to_frame (dpyinfo, event.xexpose.window))
-           popup_activated_flag = 0;
-           
           dpyinfo->grabbed &= ~(1 << event.xbutton.button);
 #ifdef USE_MOTIF /* Pretending that the event came from a
                     Btn1Down seems the only way to convince Motif to