aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1994-06-19 19:07:47 +0000
committerRichard M. Stallman1994-06-19 19:07:47 +0000
commit01cbdba594074fc3e8e3ded1edad2e13fdc89c8c (patch)
tree48ef371e5fc83143a732128c7c9647d11c8d31ec /src
parentbeefa22e7ba66ae2ba49e996f45b9d63b674c73a (diff)
downloademacs-01cbdba594074fc3e8e3ded1edad2e13fdc89c8c.tar.gz
emacs-01cbdba594074fc3e8e3ded1edad2e13fdc89c8c.zip
(x_window): Take account of pane widget internal border width.
Diffstat (limited to 'src')
-rw-r--r--src/xfns.c7
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;