[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Drawing dirty rectangles with expose_window: row->clip = fr
From: |
Eli Zaretskii |
Subject: |
Re: Drawing dirty rectangles with expose_window: row->clip = fr |
Date: |
Tue, 02 Apr 2019 17:48:11 +0300 |
> Date: Mon, 01 Apr 2019 18:55:46 -0700
> From: Keith David Bershatsky <address@hidden>
>
> Even though ns_clip_to_rect returns TRUE, "row->clip = fr;" in expose_window
> can sometimes prevent glyphs from being drawn within the rectangle that is
> passed as an argument of ns_clip_to_rect. This has the effect of permitting
> fake cursors to be drawn, but then glyphs cannot be drawn on top of
> hollow/box fake cursors.
>
> How can I reconcile a false_positive with ns_clip_to_rect?
Is the fake cursor entirely inside the rectangle described by 'fr', or
is it or some of its parts outside?
> Or, perhaps "row->clip = fr;" in expose_window needs to be adjusted to permit
> the drawing of glyphs?
It already is, AFAIU. Barring bugs, that is.