diff options
author | David Robillard <d@drobilla.net> | 2020-07-05 11:22:54 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-07-05 15:00:27 +0200 |
commit | 02f230d5e6849552daedcb75f4655c66fe8f57df (patch) | |
tree | 84166be64827cbb79f25ac820328c72085c0fcbe /pugl/detail/win.c | |
parent | 72ffadb20144304b376cc7fef267aeb9db8171de (diff) | |
download | pugl-02f230d5e6849552daedcb75f4655c66fe8f57df.tar.gz pugl-02f230d5e6849552daedcb75f4655c66fe8f57df.tar.bz2 pugl-02f230d5e6849552daedcb75f4655c66fe8f57df.zip |
Remove count field from PuglEventExpose
This was never particularly useful, and it makes no sense with the new drawing
model, even on X11, so its presence just adds confusion. So, remove it, which
also conveniently fixes a padding warning in PuglEventExpose.
Diffstat (limited to 'pugl/detail/win.c')
-rw-r--r-- | pugl/detail/win.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/pugl/detail/win.c b/pugl/detail/win.c index e06f021..38f2615 100644 --- a/pugl/detail/win.c +++ b/pugl/detail/win.c @@ -612,7 +612,6 @@ handleMessage(PuglView* view, UINT message, WPARAM wParam, LPARAM lParam) event.expose.y = rect.top; event.expose.width = rect.right - rect.left; event.expose.height = rect.bottom - rect.top; - event.expose.count = 0; break; case WM_ERASEBKGND: return true; |