summaryrefslogtreecommitdiff
path: root/frontends
diff options
context:
space:
mode:
Diffstat (limited to 'frontends')
-rw-r--r--frontends/windows/window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/windows/window.c b/frontends/windows/window.c
index b4cafaab3..173dfc802 100644
--- a/frontends/windows/window.c
+++ b/frontends/windows/window.c
@@ -828,7 +828,7 @@ nsws_ctx_menu(struct gui_window *gw, HWND hwnd, int x, int y)
/* If the position is in the client area, display a shortcut menu. */
if (PtInRect(&rc, pt)) {
ClientToScreen(hwnd, &pt);
- nsws_update_edit(w);
+ nsws_update_edit(gw);
TrackPopupMenu(GetSubMenu(gw->rclick, 0),
TPM_CENTERALIGN | TPM_TOPALIGN,
x,