diff options
author | David Robillard <d@drobilla.net> | 2021-05-25 12:07:17 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-05-25 12:12:59 -0400 |
commit | e6183b3dbe6b83d642cad1dfb296083ce8c53360 (patch) | |
tree | 60ec2f11586489bcd81364654d6964d399484596 /src/x11_cairo.c | |
parent | 040e94b26395451b78f5cbe0b7f208afcf28af1b (diff) | |
download | pugl-e6183b3dbe6b83d642cad1dfb296083ce8c53360.tar.gz pugl-e6183b3dbe6b83d642cad1dfb296083ce8c53360.tar.bz2 pugl-e6183b3dbe6b83d642cad1dfb296083ce8c53360.zip |
Rename event structs in a more readable style
Aside from reading more naturally, this avoids clashes with types that are not
events, like PuglEventFlags. This is also more consistent with the C++
bindings, where "EventExpose" would be quite strange, for example.
Apologies for the noise. Aliases to the old names will be preserved in the
deprecated API like other things for a short while.
Diffstat (limited to 'src/x11_cairo.c')
-rw-r--r-- | src/x11_cairo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/x11_cairo.c b/src/x11_cairo.c index fa05bd1..6bb1254 100644 --- a/src/x11_cairo.c +++ b/src/x11_cairo.c @@ -93,7 +93,7 @@ puglX11CairoDestroy(PuglView* view) } static PuglStatus -puglX11CairoEnter(PuglView* view, const PuglEventExpose* expose) +puglX11CairoEnter(PuglView* view, const PuglExposeEvent* expose) { PuglInternals* const impl = view->impl; PuglX11CairoSurface* const surface = (PuglX11CairoSurface*)impl->surface; @@ -108,7 +108,7 @@ puglX11CairoEnter(PuglView* view, const PuglEventExpose* expose) } static PuglStatus -puglX11CairoLeave(PuglView* view, const PuglEventExpose* expose) +puglX11CairoLeave(PuglView* view, const PuglExposeEvent* expose) { PuglInternals* const impl = view->impl; PuglX11CairoSurface* const surface = (PuglX11CairoSurface*)impl->surface; |