diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_Menu.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Fl_Menu.cxx b/src/Fl_Menu.cxx index 470de2f68..b732a94b3 100644 --- a/src/Fl_Menu.cxx +++ b/src/Fl_Menu.cxx @@ -597,6 +597,11 @@ int menuwindow::handle(int e) { case FL_MOVE: case FL_PUSH: case FL_DRAG: { +#ifdef __QNX__ + // STR 704: workaround QNX X11 bug - in QNX an event FL_MOVE is sent + // right after FL_RELEASE... + if (pp.state == DONE_STATE) return 1; +#endif // __QNX__ int mx = Fl::event_x_root(); int my = Fl::event_y_root(); int item=0; int mymenu; |
