forked from enlightenment/efl
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
This commit is contained in:
parent
124703826f
commit
24e5aa668a
|
@ -592,6 +592,11 @@ _ecore_evas_wl_common_cb_window_configure(void *data EINA_UNUSED, int type EINA_
|
|||
active = wdata->activated;
|
||||
wdata->activated = ecore_wl2_window_activated_get(wdata->win);
|
||||
|
||||
/* If the compositor set these, we need to update internal state
|
||||
* so things like CSD continue to function */
|
||||
wdata->win->set_config.maximized = ee->prop.maximized;
|
||||
wdata->win->set_config.fullscreen = ee->prop.fullscreen;
|
||||
|
||||
nw = ev->w;
|
||||
nh = ev->h;
|
||||
|
||||
|
|
Loading…
Reference in New Issue