Mercurial > dwindows
annotate mac/file.png @ 2343:347b0f97c295
GTK3: Back port Wayland fixes from the GTK4 code.
Wayland can't draw to a widget outside of an expose event.
Any attempts to draw to a widget outside of an expose will mark the widget as dirty.
Calling dw_flush() will trigger expose events on all dirty widgets.
On X11 draw directly as we used to do, dirty list should remain empty.
This will allow code written with the assumption we can draw any time to function.
In the future, design code to only draw in the expose callback.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 04 Mar 2021 02:00:23 +0000 |
parents | 78f9aa6d6d89 |
children |
rev | line source |
---|---|
674
78f9aa6d6d89
Fixes or fonts and loading images from files. Added Mac specific settings to dwtest.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff
changeset
|
1 (binary:image/png) |