diff options
Diffstat (limited to 'mousewget.c')
| -rw-r--r-- | mousewget.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/mousewget.c b/mousewget.c index 6702a79e6e56..fc85a7106237 100644 --- a/mousewget.c +++ b/mousewget.c @@ -1,9 +1,9 @@ /* - * $Id: mousewget.c,v 1.24 2017/01/31 00:27:21 tom Exp $ + * $Id: mousewget.c,v 1.25 2019/07/25 00:06:38 tom Exp $ * - * mousewget.c -- mouse/wgetch support for dialog + * mousewget.c -- mouse/wgetch support for dialog * - * Copyright 2000-2016,2017 Thomas E. Dickey + * Copyright 2000-2017,2019 Thomas E. Dickey * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License, version 2.1 @@ -39,9 +39,10 @@ mouse_wgetch(WINDOW *win, int *fkey, bool ignore_errs) mouse_err = FALSE; if (key == KEY_MOUSE) { MEVENT event; - mseRegion *p; if (getmouse(&event) != ERR) { + mseRegion *p; + DLG_TRACE(("# mouse-click abs %d,%d (rel %d,%d)\n", event.y, event.x, event.y - getbegy(win), |
