Browse files

disable mouse click exit rendering mode

  • Loading branch information...
1 parent f184b85 commit d1a95a28e304d189d4f531a8719e08760ba91c82 @xiangfu xiangfu committed Mar 14, 2012
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);
}

0 comments on commit d1a95a2

Please sign in to comment.