summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-10-06 11:37:50 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-10-06 11:36:53 -0400
commiteba50312b4552647286a32ac324444c2450b357f (patch)
tree0d0c3661d469cf9b4e7905c9cc48bf8642a79ac5 /src/modules
parentd7a08ed74efd309bcda7cb1ca56682a4a840c2ae (diff)
use e_client_unfullscreen() to handle xdg-shell unfullscreen requests
ensure that previous window states get accurately reapplied when unfullscreening, e.g., maximize
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/wl_desktop_shell/xdg6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/wl_desktop_shell/xdg6.c b/src/modules/wl_desktop_shell/xdg6.c
index 8d28fa9..da1807e 100644
--- a/src/modules/wl_desktop_shell/xdg6.c
+++ b/src/modules/wl_desktop_shell/xdg6.c
@@ -615,7 +615,7 @@ _e_xdg_toplevel_cb_fullscreen_unset(struct wl_client *client EINA_UNUSED, struct
615 if (e_object_is_del(E_OBJECT(ec))) return; 615 if (e_object_is_del(E_OBJECT(ec))) return;
616 616
617 if (ec->lock_user_fullscreen) return; 617 if (ec->lock_user_fullscreen) return;
618 _xdg_shell_surface_send_configure(resource, 0, !!ec->maximized || ec->comp_data->max, 0, ec->saved.w, ec->saved.h); 618 e_client_unfullscreen(ec);
619} 619}
620 620
621static void 621static void