change default charset from XA_STRING to UTF-8
authorHyoyoung Chang <hyoyoung.chang@samsung.com>
Tue, 12 Oct 2010 10:59:45 +0000 (19:59 +0900)
committerHyoyoung Chang <hyoyoung.chang@samsung.com>
Tue, 12 Oct 2010 10:59:45 +0000 (19:59 +0900)
debian/changelog
src/xcnphandler.c

index 532c4fd..50b733d 100644 (file)
@@ -1,3 +1,12 @@
+cbhm (0.1.0-29) unstable; urgency=low
+
+  * case of inhouse package
+  * Git: 165.213.180.234:/git/slp/pkgs/cbhm
+  * Tag: cbhm_0.1.0-29
+  * lowering view at focus-out
+
+ -- Hyoyoung Chang <hyoyoung.chang@samsung.com>  Mon, 11 Oct 2010 15:04:34 +0900
+
 cbhm (0.1.0-28) unstable; urgency=low
 
   * case of inhouse package
index b3db943..aa76c35 100755 (executable)
@@ -152,7 +152,8 @@ int print_storage_buffer()
 
 int send_convert_selection()
 {
-       XConvertSelection(g_disp, atomClipboard, atomTarget, atomCBOut, g_evtwin, CurrentTime);
+//     XConvertSelection(g_disp, atomClipboard, atomTarget, atomCBOut, g_evtwin, CurrentTime);
+       XConvertSelection(g_disp, atomClipboard, atomUTF8String, atomCBOut, g_evtwin, CurrentTime);
        DTRACE("sent convert selection\n");
        return 0;
 }
@@ -278,7 +279,8 @@ int processing_selection_request(Ecore_X_Event_Selection_Request *ev)
                else 
                {
                        // send all (not using INCR) 
-                       XChangeProperty(g_disp, req_win, req_atom, atomTarget, 
+//                     XChangeProperty(g_disp, req_win, req_atom, atomTarget, 
+                       XChangeProperty(g_disp, req_win, req_atom, atomUTF8String, 
                                                        8, PropModeReplace, (unsigned char *) g_lastest_content, (int) txt_len);
                }
                DTRACE("txt target, len = %d\n", txt_len);