static Ecore_Timer *_check_size_timer = NULL;
static Ecore_Timer *_longpress_timer = NULL;
static Ecore_Timer *_destroy_timer = NULL;
+#if HAVE_ECOREX
static Ecore_Timer *_off_prepare_done_timer = NULL;
+#endif
static Ecore_Timer *_candidate_hide_timer = NULL;
static Ecore_Timer *_ise_hide_timer = NULL;
return ECORE_CALLBACK_CANCEL;
}
+#if HAVE_ECOREX
/**
* @brief Callback function for off_prepare_done.
*
/* WMSYNC, #8 Let the Window Manager to actually hide keyboard window */
// WILL_HIDE_REQUEST_DONE Ack to WM
-#if HAVE_ECOREX
Ecore_X_Window root_window = ecore_x_window_root_get (_control_window);
ecore_x_e_virtual_keyboard_off_prepare_done_send (root_window, _control_window);
LOGD ("_ecore_x_e_virtual_keyboard_off_prepare_done_send (%x, %x)\n",
root_window, _control_window);
-#endif
_off_prepare_done_timer = NULL;
return ECORE_CALLBACK_CANCEL;
}
+#endif
/**
* @brief Delete candidate hide timer.
return ECORE_CALLBACK_CANCEL;
}
+#if HAVE_ECOREX
/**
* @brief Delete candidate show handler.
*
}
}
-#if HAVE_ECOREX
/**
* @brief Callback function for window show completion event
*
ui_create_native_candidate_window ();
- unsigned int set = 1;
#if HAVE_ECOREX
+ unsigned int set = 1;
+
ecore_x_window_prop_card32_set (elm_win_xwindow_get (_candidate_window),
ECORE_X_ATOM_E_WINDOW_ROTATION_SUPPORTED,
&set, 1);
int spot_x, spot_y;
int x, y, width, height;
- int pos_x = 0, pos_y = 0, ise_width = 0, ise_height = 0;
+ int ise_width = 0, ise_height = 0;
bool get_geometry_result = false;
/* Get candidate window position */
ecore_evas_geometry_get (ecore_evas_ecore_evas_get (evas_object_evas_get (_candidate_window)), &x, &y, &width, &height);
#if HAVE_ECOREX
+ int pos_x = 0, pos_y = 0;
if (_candidate_angle == 90 || _candidate_angle == 270)
get_geometry_result = ecore_x_e_window_rotation_geometry_get (_ise_window, _candidate_angle, &pos_x, &pos_y, &ise_height, &ise_width);
else
#endif
}
+#if HAVE_ECOREX
/**
* @brief Get angle of quickpanel window.
*
static int efl_get_quickpanel_window_angle ()
{
SCIM_DEBUG_MAIN (3) << __FUNCTION__ << "...\n";
-#if HAVE_ECOREX
return efl_get_window_rotate_angle (efl_get_quickpanel_window ());
-#else
- //FIXME:
- return 0;
-#endif
}
+#endif
/**
* @brief Set showing effect for application window.
uint32 option = 0;
String uuid, name;
- unsigned int val = 0;
bool _support_hw_keyboard_mode = false;
+#ifdef HAVE_ECOREX
+ unsigned int val = 0;
+#endif
String helper_uuid = _config->read (SCIM_CONFIG_DEFAULT_HELPER_ISE, String (""));
String default_uuid = scim_global_config_read (String (SCIM_GLOBAL_CONFIG_DEFAULT_ISE_UUID), String (""));