diff options
author | Chris Michael <cp.michael@samsung.com> | 2014-08-03 09:41:44 -0400 |
---|---|---|
committer | Mike Blumenkrantz <zmike@osg.samsung.com> | 2014-08-04 18:01:23 -0400 |
commit | f592ec9048ae848c9c88c3a3544ed32d24854c80 (patch) | |
tree | 7a100993a2b7fc3ce3aff9d42e69084d7650f3d5 | |
parent | 0825e82fe057cd3a323de2c55f42442f679ff4e0 (diff) | |
download | enlightenment-f592ec9048ae848c9c88c3a3544ed32d24854c80.tar.gz |
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 <cp.michael@samsung.com>
-rw-r--r-- | src/modules/wl_desktop_shell/e_mod_main.c | 8 |
1 files changed, 0 insertions, 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 060556f596..96bb014acf 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 |