forked from enlightenment/enlightenment
fix geometry restore for maximized and fullscreen windows
Summary: there are no geometry restore codes in handler of wl_shell_surface toplevel_set. Test Plan: 1. run e wayland only server with devilhons's branch source (devs/devilhorns/e_comp_wl) 2. run terminology 3. make terminlogy surface to be maximized 4. make terminlogy surface to be un-maximized 5. move terminlogy surface Reviewers: devilhorns, zmike, raster, stefan_schmidt CC: cedric Differential Revision: https://phab.enlightenment.org/D965
This commit is contained in:
parent
57b3c40ad1
commit
a13179dc9d
|
@ -202,6 +202,10 @@ _e_shell_surface_cb_toplevel_set(struct wl_client *client EINA_UNUSED, struct wl
|
|||
ec->changes.icon = !!ec->icccm.class;
|
||||
ec->netwm.type = E_WINDOW_TYPE_NORMAL;
|
||||
ec->wl_comp_data->set_win_type = EINA_FALSE;
|
||||
if ((!ec->lock_user_maximize) && (ec->maximized))
|
||||
e_client_unmaximize(ec, E_MAXIMIZE_BOTH);
|
||||
if ((!ec->lock_user_fullscreen) && (ec->fullscreen))
|
||||
e_client_unfullscreen(ec);
|
||||
EC_CHANGED(ec);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue