> Here is first screenshot how hollow cursor looks on image with margin -
> http://lgarc.narod.ru/pics/emacs-hollow-cursor.png
>
> And here is how it looks with patch applied -
> http://lgarc.narod.ru/pics/emacs-box-cursor.png
Would it be possible to keep the two thin horizontal lines when the
window is active?
I figured out, how to do this in "easy" way. Here is patches update
This patch introduces new cursor type - COMBINED_BOX_CURSOR (used only internally for box cursor under images with mask or margins)
Thanks
JFYI: I've been runing Emacs with this patch for two weeks without any issues
GNU Emacs 28.0.50 (build 7, x86_64-pc-linux-gnu, GTK+ Version 3.22.30, cairo version 1.15.10) of 2020-04-25