From 1ee05972af8dd0d14bb6eedb713ce9b6adf5a1c4 Mon Sep 17 00:00:00 2001 From: Marcus Comstedt Date: Sat, 15 Oct 2005 14:59:46 +0000 Subject: Avoid "double-clicks" when the virtual keyboard is activated. svn-id: r19101 --- backends/dc/input.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backends/dc') diff --git a/backends/dc/input.cpp b/backends/dc/input.cpp index 6513dbd00a..7e13998222 100644 --- a/backends/dc/input.cpp +++ b/backends/dc/input.cpp @@ -135,7 +135,7 @@ int handleInput(struct mapledev *pad, int &mouse_x, int &mouse_y, } } - if(lmb && inter) { + if(lmb && inter && !lastlmb) { newkey = 1000; lmb = 0; } -- cgit v1.2.3