ecore_evas: set maximized value using the client set 50/207750/2
authorJaehyun Cho <jae_hyun.cho@samsung.com>
Wed, 12 Jun 2019 02:44:09 +0000 (11:44 +0900)
committerJaehyun Cho <jae_hyun.cho@samsung.com>
Mon, 17 Jun 2019 06:19:35 +0000 (06:19 +0000)
tizen enligthenment didn't suppor maximized window type.
so, client should not expect server send ZXDG_TOPLEVEL_V6_STATE_MAXIMIZED state in
_zxdg_toplevel_cb_configure function.
In tizen, we set ecore_evas's maximized value using the value set by client

This patch refers 47a38e1591fe84979f5797488da4dafe949d3e26

Change-Id: Id70b2819516d494bb6978ebdaa7c91bfa6c29224

src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c

index fb5cb22..053e7dd 100755 (executable)
@@ -625,8 +625,13 @@ _ecore_evas_wl_common_cb_window_configure(void *data EINA_UNUSED, int type EINA_
 
    prev_max = ee->prop.maximized;
    prev_full = ee->prop.fullscreen;
+//TIZEN_ONLY(20180220): maximized set using the client's value
+/*
    ee->prop.maximized =
      (ev->states & ECORE_WL2_WINDOW_STATE_MAXIMIZED) == ECORE_WL2_WINDOW_STATE_MAXIMIZED;
+*/
+   ee->prop.maximized =  ecore_wl2_window_maximized_get(wdata->win);
+//
 //TIZEN_ONLY(20180220): fullscreen set using the client's value
 /*
    ee->prop.fullscreen =