summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wl2
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2018-06-15 13:18:00 -0500
committerDerek Foreman <derekf@osg.samsung.com>2018-06-15 13:18:00 -0500
commit03793c4c640a77e41f817a6ae8208860545b4bfd (patch)
treee20b907c221bc62bf53a96538f1fdc04401b238e /src/lib/ecore_wl2
parentdc75d6b5d328e43667a6dab8f0354fbbba8defae (diff)
ecore_wl2: Remove ecore_wl2_window_raise
Summary: Since this can't be done, it probably doesn't need API. @betabreak Depends on D6276 Reviewers: devilhorns, zmike Reviewed By: zmike Subscribers: cedric, #committers, zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6277
Diffstat (limited to 'src/lib/ecore_wl2')
-rw-r--r--src/lib/ecore_wl2/Ecore_Wl2.h10
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_window.c20
2 files changed, 0 insertions, 30 deletions
diff --git a/src/lib/ecore_wl2/Ecore_Wl2.h b/src/lib/ecore_wl2/Ecore_Wl2.h
index bc815f3fa0..eb434883cb 100644
--- a/src/lib/ecore_wl2/Ecore_Wl2.h
+++ b/src/lib/ecore_wl2/Ecore_Wl2.h
@@ -840,16 +840,6 @@ EAPI void ecore_wl2_window_move(Ecore_Wl2_Window *window, Ecore_Wl2_Input *input
840EAPI void ecore_wl2_window_resize(Ecore_Wl2_Window *window, Ecore_Wl2_Input *input, int location); 840EAPI void ecore_wl2_window_resize(Ecore_Wl2_Window *window, Ecore_Wl2_Input *input, int location);
841 841
842/** 842/**
843 * Raise a given Ecore_Wl2_Window
844 *
845 * @param window The Ecore_Wl2_Window which to raise
846 *
847 * @ingroup Ecore_Wl2_Window_Group
848 * @since 1.17
849 */
850EAPI void ecore_wl2_window_raise(Ecore_Wl2_Window *window);
851
852/**
853 * Get if a given window is alpha 843 * Get if a given window is alpha
854 * 844 *
855 * @param window The window to get if is alpha 845 * @param window The window to get if is alpha
diff --git a/src/lib/ecore_wl2/ecore_wl2_window.c b/src/lib/ecore_wl2/ecore_wl2_window.c
index b7593e1604..2d0f04351f 100644
--- a/src/lib/ecore_wl2/ecore_wl2_window.c
+++ b/src/lib/ecore_wl2/ecore_wl2_window.c
@@ -770,26 +770,6 @@ ecore_wl2_window_resize(Ecore_Wl2_Window *window, Ecore_Wl2_Input *input, int lo
770 _ecore_wl2_input_ungrab(input); 770 _ecore_wl2_input_ungrab(input);
771} 771}
772 772
773EAPI void
774ecore_wl2_window_raise(Ecore_Wl2_Window *window)
775{
776 EINA_SAFETY_ON_NULL_RETURN(window);
777
778 if (window->zxdg_toplevel)
779 {
780 struct wl_array states;
781 uint32_t *s;
782
783 wl_array_init(&states);
784 s = wl_array_add(&states, sizeof(*s));
785 *s = ZXDG_TOPLEVEL_V6_STATE_ACTIVATED;
786 _zxdg_toplevel_cb_configure(window, window->zxdg_toplevel,
787 window->set_config.geometry.w,
788 window->set_config.geometry.h, &states);
789 wl_array_release(&states);
790 }
791}
792
793EAPI Eina_Bool 773EAPI Eina_Bool
794ecore_wl2_window_alpha_get(Ecore_Wl2_Window *window) 774ecore_wl2_window_alpha_get(Ecore_Wl2_Window *window)
795{ 775{