From 8fa7e4f59db968d7d2d02c5bb6384185650df13c Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Sun, 3 Aug 2014 09:41:44 -0400 Subject: [PATCH] Fix inproper setting of window type during transient_set. This fixes the issue of some wayland applications always showing up with the e_border visible. If we get a transient_set from wl_shell or xdg_shell, don't reset the client's netwm.type. Some wayland applications are sending us transient_set with parent to NULL....so don't explicitly set the netwm.type to dialog. @fix Signed-off-by: Chris Michael --- src/modules/wl_desktop_shell/e_mod_main.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/modules/wl_desktop_shell/e_mod_main.c b/src/modules/wl_desktop_shell/e_mod_main.c index 060556f59..96bb014ac 100644 --- a/src/modules/wl_desktop_shell/e_mod_main.c +++ b/src/modules/wl_desktop_shell/e_mod_main.c @@ -282,9 +282,6 @@ _e_shell_surface_cb_transient_set(struct wl_client *client EINA_UNUSED, struct w return; } - ec->netwm.type = E_WINDOW_TYPE_DIALOG; - ec->comp_data->set_win_type = EINA_TRUE; - /* set this client as a transient for parent */ _e_shell_surface_parent_set(ec, parent_resource); @@ -650,13 +647,8 @@ _e_xdg_shell_surface_cb_transient_for_set(struct wl_client *client EINA_UNUSED, return; } - ec->netwm.type = E_WINDOW_TYPE_DIALOG; - ec->comp_data->set_win_type = EINA_TRUE; - /* set this client as a transient for parent */ _e_shell_surface_parent_set(ec, parent_resource); - - EC_CHANGED(ec); } static void