From 27e9845abd0487deccfa445408488038672b19a7 Mon Sep 17 00:00:00 2001 From: Derek Foreman Date: Wed, 29 Jun 2016 11:21:01 -0500 Subject: [PATCH] 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. --- src/bin/e_comp_wl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c index 983e46150..6f2e989d7 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;