summaryrefslogtreecommitdiff
path: root/src/gui_gtk_x11.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2008-11-28 20:29:07 +0000
committerBram Moolenaar <Bram@vim.org>2008-11-28 20:29:07 +0000
commitfe86f2d7cdb284f18543cac2e6cbbe11352c7f48 (patch)
tree9b8155ee2c3fe3142e4258590d210451db55db1f /src/gui_gtk_x11.c
parenta40b46614a54de01a74d37a771db4dbfa44afee9 (diff)
downloadvim-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.c12
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