Mercurial > vim
view src/typemap @ 17227:6d01f93a5f12 v8.1.1613
patch 8.1.1613: popup window test fails with Athena and Motif
commit https://github.com/vim/vim/commit/a83e70000f106a1e1e0f86e8e362ec94c0df074c
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jul 1 21:47:35 2019 +0200
patch 8.1.1613: popup window test fails with Athena and Motif
Problem: Popup window test fails with Athena and Motif.
Solution: Compute the highlight attribut when the GUI is not active.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 01 Jul 2019 22:00:06 +0200 |
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}\")