sync up the focus between Key Window and MainWindow
in general purpose skin on Windows.
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
}
/* close the Key Window */
- closeKeyWindow();
+ if (skinInfo.isPhoneShape() == false) {
+ closeKeyWindow();
+ }
/* dispose the color tag */
if (colorPairTag != null) {
public void focusGained(FocusEvent event) {
logger.info("gain focus");
- skin.setFocus();
+ shell.getDisplay().asyncExec(new Runnable() {
+ @Override
+ public void run() {
+ skin.setFocus();
+ }
+ });
}
@Override