summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerek Foreman <derek.foreman.samsung@gmail.com>2018-07-25 15:47:52 -0500
committerDerek Foreman <derek.foreman.samsung@gmail.com>2018-07-25 15:53:39 -0500
commit24e5aa668a291a70a97483caaf551e25bd7ea95a (patch)
treede48549cc1c15dbf6e6766fc3615c3b36fae0315
parent124703826f24975a3f45ab26e567bf547b9db25b (diff)
ee_wayland: Update maximize and fullscreen state after configure
Summary: If the compositor drops fullscreen or maximize for us the CSD to change that state would become broken, as ecore_wl2 thought the window state was whatever we last set it to from the client side. Update that state on configure event. fix T7211 Reviewers: devilhorns, zmike, eagleeye Reviewed By: devilhorns, zmike Subscribers: cedric, #committers, zmike Tags: #efl Maniphest Tasks: T7211 Differential Revision: https://phab.enlightenment.org/D6684
-rw-r--r--src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
index 3ca5794084..16decc5632 100644
--- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
+++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
@@ -592,6 +592,11 @@ _ecore_evas_wl_common_cb_window_configure(void *data EINA_UNUSED, int type EINA_
592 active = wdata->activated; 592 active = wdata->activated;
593 wdata->activated = ecore_wl2_window_activated_get(wdata->win); 593 wdata->activated = ecore_wl2_window_activated_get(wdata->win);
594 594
595 /* If the compositor set these, we need to update internal state
596 * so things like CSD continue to function */
597 wdata->win->set_config.maximized = ee->prop.maximized;
598 wdata->win->set_config.fullscreen = ee->prop.fullscreen;
599
595 nw = ev->w; 600 nw = ev->w;
596 nh = ev->h; 601 nh = ev->h;
597 602