m_impl->set_floating_mode(floating_mode);
}
}
+
+void CSCLCore::set_floating_drag_enabled(sclboolean enabled)
+{
+ if (m_impl) {
+ m_impl->set_floating_drag_enabled(enabled);
+ }
+}
\ No newline at end of file
* @param[in] floating_mode Floating mode or not
*/
void set_floating_mode(sclboolean floating_mode);
+
+ /**
+ * @brief Request to allow the user to move floating ISE.
+ */
+ void set_floating_drag_enabled(sclboolean enabled);
private:
CSCLCoreImpl *m_impl;
};
{
m_core_ui.set_floating_mode(floating_mode);
}
+
+void CSCLCoreImpl::set_floating_drag_enabled(sclboolean enabled)
+{
+ m_core_ui.set_floating_drag_enabled(enabled);
+}
\ No newline at end of file
void request_ise_hide();
void commit_content(const sclchar *content, const sclchar *description, const sclchar *mime_types);
void set_floating_mode(sclboolean floating_mode);
+ void set_floating_drag_enabled(sclboolean enabled);
private:
ISCLCoreEventCallback *m_event_callback;
wl_input_panel_surface_set_floating_panel(wlkb.ips, floating_mode);
}
+void CSCLCoreUIEFL::set_floating_drag_enabled(sclboolean enabled)
+{
+ if (wlkb.ips)
+ wl_input_panel_surface_set_floating_drag_enabled(wlkb.ips, enabled);
+}
+
static int language_changed_cb(void *event_info, void* data)
{
char clang[_POSIX_PATH_MAX] = {0};
void process_keyboard_ui_state_change(KEYBOARD_UI_STATE state);
void set_floating_mode(sclboolean floating_mode);
+ void set_floating_drag_enabled(sclboolean enabled);
private:
sclboolean m_initialized;
m_impl->set_floating_mode(floating_mode);
}
}
+
+void CSCLCoreUI::set_floating_drag_enabled(sclboolean enabled)
+{
+ if (m_impl) {
+ m_impl->set_floating_drag_enabled(enabled);
+ }
+}
\ No newline at end of file
*/
virtual void set_floating_mode(sclboolean floating_mode);
+ /**
+ * @brief Request to allow the user to move floating ISE
+ */
+ virtual void set_floating_drag_enabled(sclboolean enabled);
+
protected:
std::string m_backend_identifier;