]> git.eshelyaron.com Git - emacs.git/commitdiff
Get rid of unnecessary draw locking in haikumenu.c
authorPo Lu <luangruo@yahoo.com>
Thu, 27 Jan 2022 01:25:20 +0000 (01:25 +0000)
committerPo Lu <luangruo@yahoo.com>
Thu, 27 Jan 2022 01:26:54 +0000 (01:26 +0000)
* src/haikumenu.c (Fhaiku_menu_bar_open): Stop holding the draw
lock.

src/haikumenu.c

index b73baf72e051f22df762ae4a138b70ddc729f3f8..875f1afb6a2d3754753ca290a30457f90e15bd77 100644 (file)
@@ -646,10 +646,8 @@ the position of the last non-menu event instead.  */)
   if (FRAME_EXTERNAL_MENU_BAR (f))
     {
       block_input ();
-      BView_draw_lock (FRAME_HAIKU_VIEW (f));
       set_frame_menubar (f, 1);
       BMenuBar_start_tracking (FRAME_HAIKU_MENU_BAR (f));
-      BView_draw_unlock (FRAME_HAIKU_VIEW (f));
       unblock_input ();
     }
   else