Skip to content

Commit

Permalink
disable mouse click exit rendering mode
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangfu committed Mar 14, 2012
1 parent f184b85 commit d1a95a2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/gui/guirender.c
Expand Up @@ -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);
}
Expand Down

0 comments on commit d1a95a2

Please sign in to comment.