]> git.eshelyaron.com Git - emacs.git/commitdiff
* lwlib/xlwmenu.c (pop_up_menu): Fix cast.
authorPo Lu <luangruo@yahoo.com>
Mon, 7 Feb 2022 09:48:00 +0000 (17:48 +0800)
committerPo Lu <luangruo@yahoo.com>
Mon, 7 Feb 2022 09:48:00 +0000 (17:48 +0800)
lwlib/xlwmenu.c

index 8c5794c04359e2fd9dda44a66583895a05e040c9..cf6a8b1387e74c80149aa730b5dc8602251cc8e4 100644 (file)
@@ -2743,5 +2743,5 @@ pop_up_menu (XlwMenuWidget mw, XButtonPressedEvent *event)
   ((XMotionEvent*)event)->is_hint = 0;
   handle_motion_event (mw, (XMotionEvent*)event);
 
-  XlwMenuRedisplay ((XlwMenuWidget) mw, NULL, None);
+  XlwMenuRedisplay ((Widget) mw, NULL, None);
 }