diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2005-12-05 02:14:25 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2005-12-05 02:14:25 +0000 |
| commit | 11349b0c6351a8dfd8a2471ee60309ac7c457d42 (patch) | |
| tree | 92c6537b0ede424f4182b14e3f2d33bce326d2f8 /test/sudoku.cxx | |
| parent | 2f40b8b80b6c990a3c340d345c89f8e39c4d2d54 (diff) | |
Ignore keypresses with FL_CTRL modifier so that menubar can process them.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4685 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test/sudoku.cxx')
| -rw-r--r-- | test/sudoku.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/sudoku.cxx b/test/sudoku.cxx index 4699f6dcd..d4094f7ec 100644 --- a/test/sudoku.cxx +++ b/test/sudoku.cxx @@ -348,6 +348,7 @@ SudokuCell::handle(int event) { break; case FL_KEYDOWN : + if (Fl::event_state() & FL_CTRL) break; int key = Fl::event_key() - '0'; if (key < 0 || key > 9) key = Fl::event_key() - FL_KP - '0'; if (key > 0 && key <= 9) { |
