Fix recent change to xlwmenu.c
authorPo Lu <luangruo@yahoo.com>
Tue, 21 Jun 2022 14:14:49 +0000 (22:14 +0800)
committerPo Lu <luangruo@yahoo.com>
Tue, 21 Jun 2022 14:14:49 +0000 (22:14 +0800)
commita4dcc8b9a94466c792be3743760a4a45cf6e1e61
tree72f8dfc69c3fde77b9fc7461f65cbc6ba6027c44
parentbe35c92c90d455739a6ff9d4beefa2b35d044852
Fix recent change to xlwmenu.c

* lwlib/xlwmenu.c (ungrab_all): Ungrab keyboard if it was
grabbed.  This handles `lucid--menu-grab-keyboard' changing
while the menu is open.

(XlwMenuDestroy):
(pop_up_menu): Record if the keyboard was grabbed.
lwlib/xlwmenu.c