sync with latest
[sdk/emulator/qemu.git] / tizen / src / skin / client / src / org / tizen / emulator / skin / layout / PhoneShapeSkinComposer.java
index 9b59b73..efa674a 100644 (file)
@@ -184,6 +184,9 @@ public class PhoneShapeSkinComposer implements ISkinComposer {
                logger.info("lcd bounds : " + lcdBounds);
 
                currentState.setDisplayBounds(lcdBounds);
+               if (SwtUtil.isMacPlatform() == true) {
+                       lcdCanvas.setBounds(currentState.getDisplayBounds());
+               }
 
                /* arrange the skin image */
                Image tempImage = null;
@@ -273,7 +276,9 @@ public class PhoneShapeSkinComposer implements ISkinComposer {
                        public void paintControl(final PaintEvent e) {
                                if (currentState.isNeedToUpdateDisplay() == true) {
                                        currentState.setNeedToUpdateDisplay(false);
-                                       lcdCanvas.setBounds(currentState.getDisplayBounds());
+                                       if (SwtUtil.isMacPlatform() == false) {
+                                               lcdCanvas.setBounds(currentState.getDisplayBounds());
+                                       }
 
                                        if (skin.communicator.isSensorDaemonStarted() == true) {
                                                /* Let's do one more update for sdl display surface