[3.0] Fixed not to count copied image in a clipboard 47/112447/1 accepted/tizen/3.0/common/20170201.164638 accepted/tizen/3.0/ivi/20170201.091845 accepted/tizen/3.0/mobile/20170201.091720 accepted/tizen/3.0/tv/20170201.091806 accepted/tizen/3.0/wearable/20170201.091834 submit/tizen_3.0/20170201.053640
authorsuhyung Eom <suhyung.eom@samsung.com>
Wed, 1 Feb 2017 04:55:21 +0000 (13:55 +0900)
committersuhyung Eom <suhyung.eom@samsung.com>
Wed, 1 Feb 2017 05:06:25 +0000 (14:06 +0900)
Signed-off-by: suhyung Eom <suhyung.eom@samsung.com>
Change-Id: I9fdc51cff435bcb6b82ccdb80ee10ff484c4392e

adaptors/ecore/wayland/clipboard-impl-ecore-wl.cpp

index 684f61b..6f99055 100644 (file)
@@ -37,8 +37,8 @@
 #ifndef CBHM_DBUS_INTERFACE
 #define CBHM_DBUS_INTERFACE "org.tizen.cbhm.dbus"
 #endif /* CBHM_DBUS_INTERFACE */
+#define CBHM_COUNT_ALL 0    // ATOM_INDEX_CBHM_COUNT_ALL
 
-#define CLIPBOARD_STR  "CLIPBOARD_STR"
 #define CLIPBOARD_BUFFER_SIZE 3000
 
 ///////////////////////////////////////////////////////////////////////////////////////////////////
@@ -159,6 +159,7 @@ struct Clipboard::Impl
     }
 
     eldbus_message_ref(req);
+    eldbus_message_arguments_append(req, "i", CBHM_COUNT_ALL) ;
     reply = eldbus_proxy_send_and_block(eldbus_proxy, req, 100);
     if (!reply || eldbus_message_error_get(reply, &errname, &errmsg))
     {