summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wl2/ecore_wl2_window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore_wl2/ecore_wl2_window.c')
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_window.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/lib/ecore_wl2/ecore_wl2_window.c b/src/lib/ecore_wl2/ecore_wl2_window.c
index a2468cc4d0..df4045007b 100644
--- a/src/lib/ecore_wl2/ecore_wl2_window.c
+++ b/src/lib/ecore_wl2/ecore_wl2_window.c
@@ -1074,35 +1074,6 @@ ecore_wl2_window_iconified_set(Ecore_Wl2_Window *window, Eina_Bool iconified)
1074 zxdg_toplevel_v6_set_minimized(window->zxdg_toplevel); 1074 zxdg_toplevel_v6_set_minimized(window->zxdg_toplevel);
1075 ecore_wl2_display_flush(window->display); 1075 ecore_wl2_display_flush(window->display);
1076 } 1076 }
1077 else
1078 {
1079 if (window->xdg_toplevel)
1080 {
1081 struct wl_array states;
1082 uint32_t *s;
1083
1084 wl_array_init(&states);
1085 s = wl_array_add(&states, sizeof(*s));
1086 *s = XDG_TOPLEVEL_STATE_ACTIVATED;
1087 _xdg_toplevel_cb_configure(window, window->xdg_toplevel,
1088 window->set_config.geometry.w,
1089 window->set_config.geometry.h, &states);
1090 wl_array_release(&states);
1091 }
1092 if (window->zxdg_toplevel)
1093 {
1094 struct wl_array states;
1095 uint32_t *s;
1096
1097 wl_array_init(&states);
1098 s = wl_array_add(&states, sizeof(*s));
1099 *s = ZXDG_TOPLEVEL_V6_STATE_ACTIVATED;
1100 _zxdg_toplevel_cb_configure(window, window->zxdg_toplevel,
1101 window->set_config.geometry.w,
1102 window->set_config.geometry.h, &states);
1103 wl_array_release(&states);
1104 }
1105 }
1106} 1077}
1107 1078
1108EAPI void 1079EAPI void