aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xmenu.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/xmenu.c b/src/xmenu.c
index c6640916f32..51867f0478f 100644
--- a/src/xmenu.c
+++ b/src/xmenu.c
@@ -3343,6 +3343,11 @@ xmenu_show (f, x, y, for_click, keymaps, title, error)
3343 return Qnil; 3343 return Qnil;
3344 } 3344 }
3345 3345
3346 /* Don't GC while we prepare and show the menu,
3347 because we give the oldxmenu library pointers to the
3348 contents of strings. */
3349 inhibit_garbage_collection ();
3350
3346#ifdef HAVE_X_WINDOWS 3351#ifdef HAVE_X_WINDOWS
3347 /* Adjust coordinates to relative to the outer (window manager) window. */ 3352 /* Adjust coordinates to relative to the outer (window manager) window. */
3348 x += FRAME_OUTER_TO_INNER_DIFF_X (f); 3353 x += FRAME_OUTER_TO_INNER_DIFF_X (f);