From: Son Hyunjun Date: Sat, 7 Apr 2012 09:32:30 +0000 (+0900) Subject: [Title] reject mouse touch in lcd off state. X-Git-Tag: TizenStudio_2.0_p2.3~1523 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=83d52726a03536d10e946fe0e469a09d9da2542e;p=sdk%2Femulator%2Fqemu.git [Title] reject mouse touch in lcd off state. [Type] Bugfix [Module] Skin [Priority] Minor [CQ#] [Redmine#] [Problem] [Cause] [Solution] Change-Id: Ic09d0c3c0a4be007198679f6dee35df4ba187ae0 --- diff --git a/tizen/src/skin/maruskin_operation.c b/tizen/src/skin/maruskin_operation.c index 6a346d6..7321673 100644 --- a/tizen/src/skin/maruskin_operation.c +++ b/tizen/src/skin/maruskin_operation.c @@ -32,6 +32,7 @@ #include #include #include "maruskin_operation.h" +#include "hw/maru_brightness.h" #include "maru_sdl.h" #include "debug_ch.h" #include "sdb.h" @@ -68,6 +69,11 @@ void start_display( int handle_id, int lcd_size_width, int lcd_size_height, doub void do_mouse_event( int event_type, int x, int y, int z ) { + if( brightness_off ) { + TRACE( "reject mouse touch in lcd off : %d, x:%d, y:%d, z:%d\n", event_type, x, y, z ); + return; + } + TRACE( "mouse_event event_type:%d, x:%d, y:%d, z:%d\n", event_type, x, y, z ); if (get_emul_multi_touch_state()->multitouch_enable == 1) {