elementary/conformant - same as the virtual keyboard, set displaymode whenever clipbo...
authorChunEon Park <hermet@hermet.pe.kr>
Mon, 14 Jan 2013 12:44:09 +0000 (12:44 +0000)
committerChunEon Park <hermet@hermet.pe.kr>
Mon, 14 Jan 2013 12:44:09 +0000 (12:44 +0000)
SVN revision: 82759

legacy/elementary/src/lib/elm_conform.c

index e96b066..fd3b2dd 100644 (file)
@@ -762,10 +762,12 @@ _clipboard_state_change(Evas_Object *obj, Ecore_X_Event_Window_Property *ev)
      {
         evas_object_size_hint_min_set(sd->clipboard, -1, 0);
         evas_object_size_hint_max_set(sd->clipboard, -1, 0);
+        elm_widget_display_mode_set(obj, EVAS_DISPLAY_MODE_NONE);
         evas_object_smart_callback_call(obj, SIG_CLIPBOARD_STATE_OFF, NULL);
      }
    else if(state == ECORE_X_ILLUME_CLIPBOARD_STATE_ON)
      {
+        elm_widget_display_mode_set(obj, EVAS_DISPLAY_MODE_COMPRESS);
         _autoscroll_objects_update(obj);
         evas_object_smart_callback_call(obj, SIG_CLIPBOARD_STATE_ON, NULL);
      }