Browse Source

Fix X11 never receiving onSpecial events

Fixes #14
pull/24/head
falkTX 7 years ago
parent
commit
dd6e65bc88
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      dgl/src/pugl/pugl_x11.c

+ 1
- 1
dgl/src/pugl/pugl_x11.c View File

@@ -441,7 +441,7 @@ dispatchKey(PuglView* view, XEvent* event, bool press)
view->redisplay = false; view->redisplay = false;
return; return;
} }
if (n == 0) {
if (n == 0 && sym == 0) {
goto send_event; goto send_event;
return; return;
} }


Loading…
Cancel
Save