aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/detail
diff options
context:
space:
mode:
Diffstat (limited to 'pugl/detail')
-rw-r--r--pugl/detail/x11.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pugl/detail/x11.c b/pugl/detail/x11.c
index 6958785..fd76606 100644
--- a/pugl/detail/x11.c
+++ b/pugl/detail/x11.c
@@ -859,6 +859,8 @@ puglSendEvent(PuglView* view, const PuglEvent* event)
if (xev.type) {
if (XSendEvent(view->impl->display, view->impl->win, False, 0, &xev)) {
return PUGL_SUCCESS;
+ } else {
+ return PUGL_UNKNOWN_ERROR;
}
}