add code to check window property change related with keypad state
authorJiyoun Park <jy0703.park@samsung.com>
Wed, 3 Apr 2013 05:37:15 +0000 (14:37 +0900)
committerSungho Kwak <sungho1.kwak@samsung.com>
Wed, 3 Apr 2013 12:08:20 +0000 (21:08 +0900)
change

Change-Id: I779a7360986c73eabadb9212a2134924ed8ad1ed

src/lib/elm_win.c

index 6a062f5..c96d26b 100755 (executable)
@@ -2079,6 +2079,13 @@ _elm_win_property_change(void *data,
              evas_object_smart_callback_call(ELM_WIDGET_DATA(sd)->obj, SIG_INDICATOR_PROP_CHANGED, NULL);
           }
      }
+   if (e->atom == ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_STATE)
+     {
+        if (e->win == sd->x.xwin)
+          {
+             sd->kbdmode = ecore_x_e_virtual_keyboard_state_get(e->win);
+          }
+     }
    return ECORE_CALLBACK_PASS_ON;
 }
 #endif