tumashu / posframe

Pop a posframe (just a child-frame) at point, posframe is a **GNU ELPA** package!
450 stars 58 forks source link

only redraw when reusing the existing posframe #118

Closed taquangtrung closed 2 years ago

taquangtrung commented 2 years ago

Hi,

I noticed that currently, the posframe is always redrawn even when it is created for the first time. This makes the background of the posframe become flashing (disappears and appears again very quickly)

This PR fixes this issue by only redrawing when reusing the existing frame. Can you take a look and merge if it's useful?

Thanks!

tumashu commented 2 years ago

merged, thanks