summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2016-06-29 11:21:01 -0500
committerDerek Foreman <derekf@osg.samsung.com>2016-06-29 13:20:37 -0500
commit27e9845abd0487deccfa445408488038672b19a7 (patch)
tree7ad4966cb2ffd9b8b3c475a5d50bb471fdd50e0b
parent033217c8e1841e9e9e5256aacb749650d3393377 (diff)
downloadenlightenment-27e9845abd0487deccfa445408488038672b19a7.tar.gz
Only unignore a client on the first commit with a buffer
Otherwise, if a wayland client does its first commit without a buffer attached it will confuse our focus logic.
-rw-r--r--src/bin/e_comp_wl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index 983e461501..6f2e989d75 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -1253,7 +1253,7 @@ _e_comp_wl_surface_state_commit(E_Client *ec, E_Comp_Wl_Surface_State *state)
#endif
ec->comp_data->in_commit = 1;
- if (ec->ignored && (ec->comp_data->shell.surface || ec->internal))
+ if (state->new_attach && ec->ignored && (ec->comp_data->shell.surface || ec->internal))
{
EC_CHANGED(ec);
ec->new_client = 1;