Re: [hackers] [dmenu] Revert "avoid redraw when there's no change" || Hiltjo Posthuma

From: NRK <>
Date: Sun, 27 Mar 2022 00:58:22 +0600

On Sun, Mar 27, 2022 at 12:11:01AM +0600, NRK wrote:
> One thing I can think of, is just to keep track of the previous cursor
> position within drawmenu() and return early if there's no change.
> I'll play around with this idea more thoroughly and see if there's any
> edge cases where this doesn't work before sending the patch.

Yeah.. this won't work. There's other things we'll need to keep track of
as well such as current selction etc.

Probably not worth it that that point; unless there's a simpler and
cleaner solution.

Received on Sat Mar 26 2022 - 19:58:22 CET

This archive was generated by hypermail 2.3.0 : Sat Mar 26 2022 - 20:00:35 CET