diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xfns.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/xfns.c b/src/xfns.c index 4e3144e5dc4..b3c2731c7d1 100644 --- a/src/xfns.c +++ b/src/xfns.c | |||
| @@ -1908,12 +1908,18 @@ x_window (f, window_prompting, minibuffer_only) | |||
| 1908 | char *tem, shell_position[32]; | 1908 | char *tem, shell_position[32]; |
| 1909 | Arg al[2]; | 1909 | Arg al[2]; |
| 1910 | int ac = 0; | 1910 | int ac = 0; |
| 1911 | int ibw; | ||
| 1911 | int menubar_size | 1912 | int menubar_size |
| 1912 | = (f->display.x->menubar_widget | 1913 | = (f->display.x->menubar_widget |
| 1913 | ? (f->display.x->menubar_widget->core.height | 1914 | ? (f->display.x->menubar_widget->core.height |
| 1914 | + f->display.x->menubar_widget->core.border_width) | 1915 | + f->display.x->menubar_widget->core.border_width) |
| 1915 | : 0); | 1916 | : 0); |
| 1916 | 1917 | ||
| 1918 | XtVaGetValues (pane_widget, | ||
| 1919 | XtNinternalBorderWidth, &ibw, | ||
| 1920 | NULL); | ||
| 1921 | menubar_size += ibw; | ||
| 1922 | |||
| 1917 | if (window_prompting & USPosition) | 1923 | if (window_prompting & USPosition) |
| 1918 | { | 1924 | { |
| 1919 | int left = f->display.x->left_pos; | 1925 | int left = f->display.x->left_pos; |