diff options
Diffstat (limited to '')
-rw-r--r-- | src/modules/ecore/immodules/xim/ecore_imf_xim.c | 39 |
1 files changed, 1 insertions, 38 deletions
diff --git a/src/modules/ecore/immodules/xim/ecore_imf_xim.c b/src/modules/ecore/immodules/xim/ecore_imf_xim.c index 696798d213..a115b90647 100644 --- a/src/modules/ecore/immodules/xim/ecore_imf_xim.c +++ b/src/modules/ecore/immodules/xim/ecore_imf_xim.c | |||
@@ -1043,7 +1043,6 @@ _ecore_imf_xim_preedit_caret_call(XIC xic EINA_UNUSED, | |||
1043 | 1043 | ||
1044 | if (call_data->direction == XIMAbsolutePosition) | 1044 | if (call_data->direction == XIMAbsolutePosition) |
1045 | { | 1045 | { |
1046 | // printf("call_data->position:%d\n", call_data->position); | ||
1047 | imf_context_data->preedit_cursor = call_data->position; | 1046 | imf_context_data->preedit_cursor = call_data->position; |
1048 | if (imf_context_data->finalizing == EINA_FALSE) | 1047 | if (imf_context_data->finalizing == EINA_FALSE) |
1049 | { | 1048 | { |
@@ -1107,35 +1106,6 @@ _ecore_imf_xim_ic_get(Ecore_IMF_Context *ctx) | |||
1107 | } | 1106 | } |
1108 | 1107 | ||
1109 | // supported styles | 1108 | // supported styles |
1110 | #if 0 | ||
1111 | int i; | ||
1112 | if (im_info->xim_styles) | ||
1113 | { | ||
1114 | for (i = 0; i < im_info->xim_styles->count_styles; i++) | ||
1115 | { | ||
1116 | printf("%i: ", i); | ||
1117 | if (im_info->xim_styles->supported_styles[i] & XIMPreeditCallbacks) | ||
1118 | printf("XIMPreeditCallbacks | "); | ||
1119 | if (im_info->xim_styles->supported_styles[i] & XIMPreeditPosition) | ||
1120 | printf("XIMPreeditPosition | "); | ||
1121 | if (im_info->xim_styles->supported_styles[i] & XIMPreeditArea) | ||
1122 | printf("XIMPreeditArea | "); | ||
1123 | if (im_info->xim_styles->supported_styles[i] & XIMPreeditNothing) | ||
1124 | printf("XIMPreeditNothing | "); | ||
1125 | if (im_info->xim_styles->supported_styles[i] & XIMPreeditNone) | ||
1126 | printf("XIMPreeditNone | "); | ||
1127 | if (im_info->xim_styles->supported_styles[i] & XIMStatusArea) | ||
1128 | printf("XIMStatusArea | "); | ||
1129 | if (im_info->xim_styles->supported_styles[i] & XIMStatusCallbacks) | ||
1130 | printf("XIMStatusCallbacks | "); | ||
1131 | if (im_info->xim_styles->supported_styles[i] & XIMStatusNothing) | ||
1132 | printf("XIMStatusNothing | "); | ||
1133 | if (im_info->xim_styles->supported_styles[i] & XIMStatusNone) | ||
1134 | printf("XIMStatusNone | "); | ||
1135 | printf("\n"); | ||
1136 | } | ||
1137 | } | ||
1138 | #endif | ||
1139 | // "OverTheSpot" = XIMPreeditPosition | XIMStatusNothing | 1109 | // "OverTheSpot" = XIMPreeditPosition | XIMStatusNothing |
1140 | // "OffTheSpot" = XIMPreeditArea | XIMStatusArea | 1110 | // "OffTheSpot" = XIMPreeditArea | XIMStatusArea |
1141 | // "Root" = XIMPreeditNothing | XIMStatusNothing | 1111 | // "Root" = XIMPreeditNothing | XIMStatusNothing |
@@ -1453,14 +1423,7 @@ _ecore_imf_xim_im_setup(XIM_Im_Info *info) | |||
1453 | XNCursor)) | 1423 | XNCursor)) |
1454 | info->supports_cursor = EINA_TRUE; | 1424 | info->supports_cursor = EINA_TRUE; |
1455 | } | 1425 | } |
1456 | #if 0 | 1426 | |
1457 | printf("values........\n"); | ||
1458 | for (i = 0; i < ic_values->count_values; i++) | ||
1459 | printf("%s\n", ic_values->supported_values[i]); | ||
1460 | printf("styles........\n"); | ||
1461 | for (i = 0; i < info->xim_styles->count_styles; i++) | ||
1462 | printf("%lx\n", info->xim_styles->supported_styles[i]); | ||
1463 | #endif | ||
1464 | XFree(ic_values); | 1427 | XFree(ic_values); |
1465 | } | 1428 | } |
1466 | } | 1429 | } |