summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dgl/src/pugl/pugl_x11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dgl/src/pugl/pugl_x11.c b/dgl/src/pugl/pugl_x11.c
index 60be55e7..95f0d3dc 100644
--- a/dgl/src/pugl/pugl_x11.c
+++ b/dgl/src/pugl/pugl_x11.c
@@ -441,7 +441,7 @@ dispatchKey(PuglView* view, XEvent* event, bool press)
view->redisplay = false;
return;
}
- if (n == 0) {
+ if (n == 0 && sym == 0) {
goto send_event;
return;
}