summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-01-21 13:00:10 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-02-02 13:35:43 -0500
commit3535581b2c1987dea7066871ce5edf75fa244822 (patch)
tree0476797f695bf90f4f4696474f74f6275cba3d6c
parentc0be62b0b46238256e8c0c8b1192400cab2472df (diff)
enable surface visibility fallthrough for drag clients
more surfaces with no shell interfaces
-rw-r--r--src/bin/e_comp_wl.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index 425b74a2a..c48c6d355 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -1061,7 +1061,8 @@ _e_comp_wl_surface_state_commit(E_Client *ec, E_Comp_Wl_Surface_State *state)
1061 if ((ec->comp_data->shell.surface) && (ec->comp_data->shell.unmap)) 1061 if ((ec->comp_data->shell.surface) && (ec->comp_data->shell.unmap))
1062 ec->comp_data->shell.unmap(ec->comp_data->shell.surface); 1062 ec->comp_data->shell.unmap(ec->comp_data->shell.surface);
1063 else if (ec->comp_data->cursor || e_client_has_xwindow(ec) || 1063 else if (ec->comp_data->cursor || e_client_has_xwindow(ec) ||
1064 (ec->comp_data->sub.data && ec->comp_data->sub.data->parent->comp_data->mapped)) 1064 (ec->comp_data->sub.data && ec->comp_data->sub.data->parent->comp_data->mapped) ||
1065 (ec == e_comp_wl->drag_client))
1065 { 1066 {
1066 ec->visible = EINA_FALSE; 1067 ec->visible = EINA_FALSE;
1067 evas_object_hide(ec->frame); 1068 evas_object_hide(ec->frame);
@@ -1076,7 +1077,8 @@ _e_comp_wl_surface_state_commit(E_Client *ec, E_Comp_Wl_Surface_State *state)
1076 if ((ec->comp_data->shell.surface) && (ec->comp_data->shell.map)) 1077 if ((ec->comp_data->shell.surface) && (ec->comp_data->shell.map))
1077 ec->comp_data->shell.map(ec->comp_data->shell.surface); 1078 ec->comp_data->shell.map(ec->comp_data->shell.surface);
1078 else if (ec->comp_data->cursor || e_client_has_xwindow(ec) || 1079 else if (ec->comp_data->cursor || e_client_has_xwindow(ec) ||
1079 (ec->comp_data->sub.data && ec->comp_data->sub.data->parent->comp_data->mapped)) 1080 (ec->comp_data->sub.data && ec->comp_data->sub.data->parent->comp_data->mapped) ||
1081 (ec == e_comp_wl->drag_client))
1080 { 1082 {
1081 ec->visible = EINA_TRUE; 1083 ec->visible = EINA_TRUE;
1082 ec->ignored = 0; 1084 ec->ignored = 0;