diff options
author | David Robillard <d@drobilla.net> | 2020-03-15 18:14:18 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-03-15 20:53:37 +0100 |
commit | 9f1467c2173c487e35522139abc54d583a4078e9 (patch) | |
tree | 0000ec7030bacf36d3b7590e78363201c9ada686 /pugl/detail/x11.c | |
parent | 1e7fe2208e53ae0d622b872803856b7bfb20cf23 (diff) | |
download | pugl-9f1467c2173c487e35522139abc54d583a4078e9.tar.gz pugl-9f1467c2173c487e35522139abc54d583a4078e9.tar.bz2 pugl-9f1467c2173c487e35522139abc54d583a4078e9.zip |
Cleanup: Add puglDispatchSimpleEvent() internal utility
Diffstat (limited to 'pugl/detail/x11.c')
-rw-r--r-- | pugl/detail/x11.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pugl/detail/x11.c b/pugl/detail/x11.c index 6fbe36a..10ae0bb 100644 --- a/pugl/detail/x11.c +++ b/pugl/detail/x11.c @@ -253,8 +253,7 @@ puglCreateWindow(PuglView* view, const char* title) "XCreateID failed\n"); } - const PuglEvent createEvent = {{PUGL_CREATE, 0}}; - puglDispatchEvent(view, &createEvent); + puglDispatchSimpleEvent(view, PUGL_CREATE); return PUGL_SUCCESS; } |