[Title] clear multi-touch when rotate the emulator window
authorgiwoong.kim <giwoong.kim@samsung.com>
Wed, 11 Jul 2012 07:11:28 +0000 (16:11 +0900)
committergiwoong.kim <giwoong.kim@samsung.com>
Wed, 11 Jul 2012 07:11:28 +0000 (16:11 +0900)
[Type] enhancement
[Module] Emulator / touch
[Priority] minor
[Jira#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]

tizen/src/skin/client/src/org/tizen/emulator/skin/EmulatorSkin.java
tizen/src/skin/maruskin_operation.c

index 82bc763df9a7c988be8057fef7cd7625485abe65..205d55898685bebeb1cf6c7050e736809a0c74b9 100644 (file)
@@ -1655,10 +1655,13 @@ public class EmulatorSkin {
 
                                short rotationId = ( (Short) item.getData() );
 
+                               /* remove multi-touch finger points */
+                               KeyEventData clearMultiTouch = new KeyEventData(KeyEventType.RELEASED.value(), SWT.CTRL, SWT.LEFT);
+                               communicator.sendToQEMU(SendCommand.SEND_KEY_EVENT, clearMultiTouch);
+
                                arrangeSkin( currentLcdWidth, currentLcdHeight, currentScale, rotationId );
                                LcdStateData lcdStateData = new LcdStateData( currentScale, rotationId );
                                communicator.sendToQEMU( SendCommand.CHANGE_LCD_STATE, lcdStateData );
-
                        }
                };
 
index e38511b19b635419342dc22fad2a3310c3bb5c6d..e7c7566963c3d7e73747e16787beb21e2d95e227 100644 (file)
@@ -204,7 +204,7 @@ void do_scale_event( double scale_factor )
 void do_rotation_event( int rotation_type)
 {
 
-    INFO( "do_rotation_event rotation_type:%d", rotation_type);
+    INFO( "do_rotation_event rotation_type:%d\n", rotation_type);
 
     char send_buf[32] = { 0 };