diff options
Diffstat (limited to 'src/gui_gtk.c')
-rw-r--r-- | src/gui_gtk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui_gtk.c b/src/gui_gtk.c index af8fcae11b..b321da0d58 100644 --- a/src/gui_gtk.c +++ b/src/gui_gtk.c @@ -1954,7 +1954,7 @@ popup_menu_position_func(GtkMenu *menu UNUSED, # endif { /* Find the cursor position in the current window */ - *x += FILL_X(W_WINCOL(curwin) + curwin->w_wcol + 1) + 1; + *x += FILL_X(curwin->w_wincol + curwin->w_wcol + 1) + 1; *y += FILL_Y(W_WINROW(curwin) + curwin->w_wrow + 1) + 1; } } |