diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xfns.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/xfns.c b/src/xfns.c index a8bcc81cc51..3a5c0883383 100644 --- a/src/xfns.c +++ b/src/xfns.c | |||
| @@ -1939,6 +1939,13 @@ x_window (f, window_prompting, minibuffer_only) | |||
| 1939 | NULL); | 1939 | NULL); |
| 1940 | menubar_size += ibw; | 1940 | menubar_size += ibw; |
| 1941 | 1941 | ||
| 1942 | if (FRAME_EXTERNAL_MENU_BAR (f)) | ||
| 1943 | { | ||
| 1944 | int ibw; | ||
| 1945 | XtVaGetValues (pane_widget, XtNinternalBorderWidth, &ibw, NULL); | ||
| 1946 | menubar_size += ibw; | ||
| 1947 | } | ||
| 1948 | |||
| 1942 | if (window_prompting & USPosition) | 1949 | if (window_prompting & USPosition) |
| 1943 | { | 1950 | { |
| 1944 | int left = f->display.x->left_pos; | 1951 | int left = f->display.x->left_pos; |