On Fri May 2 06:39:45 2025 +0000, Rémi Bernon wrote:
This now redraws the entire window / marks as dirty and flushes the entire surface on every Expose event, I think we should respect the exposed rect. Or drop rect altogether if that's really the intent, but it seems wasteful.
But window_rect comes from input rect (which is the Expose event rect). And this is the rect which is used on RedrawWindow path or intersected with surface rect on surface path, so in both cases it is supposed to update only the expected rect. There is special path for NULL rect (which obviously assumes the whole window). Am I missing something?