Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

disable mouse click exit rendering mode

  • Loading branch information...
commit d1a95a28e304d189d4f531a8719e08760ba91c82 1 parent f184b85
@xiangfu xiangfu authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 src/gui/guirender.c
View
4 src/gui/guirender.c
@@ -124,9 +124,7 @@ static void input_cb(mtk_event *e, int count)
for(i=0;i<count;i++) {
if((e[i].type == EVENT_TYPE_PRESS) &&
- ((e[i].press.code == MTK_KEY_ESC)
- || (e[i].press.code == MTK_BTN_LEFT)
- || (e[i].press.code == MTK_BTN_RIGHT))) {
+ (e[i].press.code == MTK_KEY_ESC)) {
guirender_stop();
mtk_input(&e[i+1], count-i-1);
}
Please sign in to comment.
Something went wrong with that request. Please try again.