mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
Do not quit on Esc key.
This commit is contained in:
parent
531ef0809e
commit
e694d874fc
@ -318,6 +318,13 @@ int Panel::handle(int e) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
|
case FL_KEYBOARD:
|
||||||
|
/* do not quit on Esc key */
|
||||||
|
if(Fl::event_key() == FL_Escape)
|
||||||
|
return 1;
|
||||||
|
|
||||||
|
/* fallthrough */
|
||||||
}
|
}
|
||||||
|
|
||||||
return Fl_Window::handle(e);
|
return Fl_Window::handle(e);
|
||||||
|
Loading…
Reference in New Issue
Block a user