From 9e4fe82fbce0200938b68697f8000afb66c42c0e Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 24 Jul 2015 16:34:18 -0400 Subject: [PATCH] always send geometry to configure method for wayland clients when not resizing failure to set this would lead to clients changing geometry when maximized while focus state was removed --- src/bin/e_comp_wl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c index 78765643a..e0438a358 100644 --- a/src/bin/e_comp_wl.c +++ b/src/bin/e_comp_wl.c @@ -2254,7 +2254,7 @@ _e_comp_wl_client_cb_focus_set(void *data EINA_UNUSED, E_Client *ec) { if (ec->comp_data->shell.surface) ec->comp_data->shell.configure_send(ec->comp_data->shell.surface, - 0, 0, 0); + 0, ec->client.w, ec->client.h); } //if ((ec->icccm.take_focus) && (ec->icccm.accepts_focus)) @@ -2283,7 +2283,7 @@ _e_comp_wl_client_cb_focus_unset(void *data EINA_UNUSED, E_Client *ec) { if (ec->comp_data->shell.surface) ec->comp_data->shell.configure_send(ec->comp_data->shell.surface, - 0, 0, 0); + 0, ec->client.w, ec->client.h); } _e_comp_wl_focus_check();