elm_cnp: keep the copy and paste selection backword compatibility 74/267674/1
authorTaehyub Kim <taehyub.kim@samsung.com>
Wed, 8 Dec 2021 11:39:17 +0000 (20:39 +0900)
committerTaehyub Kim <taehyub.kim@samsung.com>
Wed, 8 Dec 2021 11:41:23 +0000 (20:41 +0900)
Change-Id: Icf64b185929bc2b04911adcb08ebdd98b63807d9

src/lib/elementary/elm_cnp.c

index eb82076..c1ed842 100644 (file)
@@ -12,7 +12,10 @@ static inline Ecore_Evas_Selection_Buffer
 _elm_sel_type_to_ee_type(Elm_Sel_Type type)
 {
    if (type == ELM_SEL_TYPE_PRIMARY)
-     return ECORE_EVAS_SELECTION_BUFFER_SELECTION_BUFFER;
+     // TIZEN_ONLY(20211208): Keep the copy and paste selection backword compatibility
+     //return ECORE_EVAS_SELECTION_BUFFER_SELECTION_BUFFER;
+     return ECORE_EVAS_SELECTION_BUFFER_COPY_AND_PASTE_BUFFER;
+     //
    if (type == ELM_SEL_TYPE_XDND)
      return ECORE_EVAS_SELECTION_BUFFER_DRAG_AND_DROP_BUFFER;
    if (type == ELM_SEL_TYPE_CLIPBOARD)