diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/subwindow.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/subwindow.cxx b/test/subwindow.cxx index 818596cf9..998813864 100644 --- a/test/subwindow.cxx +++ b/test/subwindow.cxx @@ -94,7 +94,7 @@ int testwindow::handle(int e) { if (e == FL_FOCUS) return 1; if (e == FL_PUSH) {Fl::focus(this); return 1;} if (e == FL_KEYBOARD && Fl::event_text()[0]) { - if (Fl::event_key() == FL_Escape || Fl::event_ctrl()) return 0; + if (Fl::event_key() == FL_Escape || Fl::event_command()) return 0; key = Fl::event_text()[0]; cx = Fl::event_x(); cy = Fl::event_y(); |
