Mercurial > vim
view src/typemap @ 18597:b10ef01555c8 v8.1.2292
patch 8.1.2292: v:mouse_winid not set on click in popup window
Commit: https://github.com/vim/vim/commit/d002e411c60a231b7c136a84422b3d9bf7b8b4df
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Nov 11 21:45:05 2019 +0100
patch 8.1.2292: v:mouse_winid not set on click in popup window
Problem: v:mouse_winid not set on click in popup window.
Solution: Set v:mouse_winid. (closes https://github.com/vim/vim/issues/5171)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 11 Nov 2019 22:00:03 +0100 |
parents | dec4338a7da2 |
children |
line wrap: on
line source
TYPEMAP VIWIN T_VIOBJNOMUNGE VIBUF T_VIOBJNOMUNGE INPUT T_VIOBJNOMUNGE if (sv_isa($arg, \"${ntype}\")) { IV tmp = SvIV((SV*)SvRV($arg)); $var = INT2PTR($type, tmp); if (!tmp) croak(\"$ntype no longer exists\"); } else croak(\"$var is not of type ${ntype}\")