]> git.eshelyaron.com Git - emacs.git/commitdiff
* oldXMenu/Activate.c (x_menu_grab_keyboard): Declare static.
authorPo Lu <luangruo@yahoo.com>
Sun, 12 May 2024 05:21:09 +0000 (13:21 +0800)
committerEshel Yaron <me@eshelyaron.com>
Sun, 12 May 2024 15:49:34 +0000 (17:49 +0200)
(cherry picked from commit 26a407cebebdaa5b21bc896cfb79c7ea8c37a922)

oldXMenu/Activate.c

index ffc5d5ecef1089dfa7578a91a2ef1f5871d344ca..d876ed234f7bce0a9a28bc563b058ec6fb43e0a5 100644 (file)
@@ -117,7 +117,7 @@ along with this program.  If not, see <https://www.gnu.org/licenses/>.  */
 #include <X11/keysym.h>
 
 /* For debug, set this to 0 to not grab the keyboard on menu popup */
-int x_menu_grab_keyboard = 1;
+static int x_menu_grab_keyboard = 1;
 
 static Wait_func wait_func;
 static void* wait_data;