diff options
author | Bram Moolenaar <Bram@vim.org> | 2008-11-28 20:29:07 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2008-11-28 20:29:07 +0000 |
commit | fe86f2d7cdb284f18543cac2e6cbbe11352c7f48 (patch) | |
tree | 9b8155ee2c3fe3142e4258590d210451db55db1f /src/gui_gtk_x11.c | |
parent | a40b46614a54de01a74d37a771db4dbfa44afee9 (diff) | |
download | vim-git-fe86f2d7cdb284f18543cac2e6cbbe11352c7f48.tar.gz |
updated for version 7.2-055v7.2.055
Diffstat (limited to 'src/gui_gtk_x11.c')
-rw-r--r-- | src/gui_gtk_x11.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui_gtk_x11.c b/src/gui_gtk_x11.c index dc95d818a..cd6555767 100644 --- a/src/gui_gtk_x11.c +++ b/src/gui_gtk_x11.c @@ -4070,14 +4070,14 @@ gui_mch_open(void) if (mask & (XValue | YValue)) { - int w, h; - gui_mch_get_screen_dimensions(&w, &h); - h += p_ghr + get_menu_tool_height(); - w += get_menu_tool_width(); + int ww, hh; + gui_mch_get_screen_dimensions(&ww, &hh); + hh += p_ghr + get_menu_tool_height(); + ww += get_menu_tool_width(); if (mask & XNegative) - x += w - pixel_width; + x += ww - pixel_width; if (mask & YNegative) - y += h - pixel_height; + y += hh - pixel_height; #ifdef HAVE_GTK2 gtk_window_move(GTK_WINDOW(gui.mainwin), x, y); #else |