view src/typemap @ 26300:0374f55a16be v8.2.3681

patch 8.2.3681: cannot drag popup window after click on a status line Commit: https://github.com/vim/vim/commit/bfc5786a61693aaadc3e45f80a2f147c3a6711a3 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Nov 26 15:57:40 2021 +0000 patch 8.2.3681: cannot drag popup window after click on a status line Problem: Cannot drag popup window after click on a status line. (Sergey Vlasov) Solution: Reset on_status_line. (closes #9221)
author Bram Moolenaar <Bram@vim.org>
date Fri, 26 Nov 2021 17:00:04 +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}\")