← 输入框|github.com|刷新
Skip to content

Fix for #829 - #841

Open
Flexlolo wants to merge 1 commit into
derf:masterfrom
Flexlolo:829
Open

Flexlolo wants to merge 1 commit into
derf:masterfrom
Flexlolo:829

Conversation

@Flexlolo

Copy link
Copy Markdown

I've fixed the issue I reported a while back: #829

The ConfigureNotify handler has to tell apart two different things: the
current window size, and the size the image was actually drawn for. It used
the window size for both, so the check broke as soon as the window geometry
was refreshed from Xlib without a redraw. That happens routinely while
waiting for the window to be mapped, which is why resizes could be dropped
even though the event was received and processed.
Keeping the rendered size as its own state makes the check independent of
when and how often the geometry is queried.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant