Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

disable mouse click exit rendering mode

  • Loading branch information...
commit d1a95a28e304d189d4f531a8719e08760ba91c82 1 parent f184b85
Xiangfu Liu authored March 14, 2012

Showing 1 changed file with 1 addition and 3 deletions. Show diff stats Hide diff stats

  1. 4  src/gui/guirender.c
4  src/gui/guirender.c
@@ -124,9 +124,7 @@ static void input_cb(mtk_event *e, int count)
124 124
 
125 125
 	for(i=0;i<count;i++) {
126 126
 		if((e[i].type == EVENT_TYPE_PRESS) && 
127  
-		  ((e[i].press.code == MTK_KEY_ESC)
128  
-		    || (e[i].press.code == MTK_BTN_LEFT)
129  
-		    || (e[i].press.code == MTK_BTN_RIGHT))) {
  127
+		   (e[i].press.code == MTK_KEY_ESC)) {
130 128
 			guirender_stop();
131 129
 			mtk_input(&e[i+1], count-i-1);
132 130
 		}

0 notes on commit d1a95a2

Please sign in to comment.
Something went wrong with that request. Please try again.