From 2e4207027d91848151025713bddb0769fb3979d1 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 30 Jun 2017 10:25:23 -0400 Subject: [PATCH] use xwayland check for clients when checking whether to reset focus to root checking base pixmap returns false for xwayland clients --- src/bin/e_comp_x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c index 3b67fe260..fb11daee7 100644 --- a/src/bin/e_comp_x.c +++ b/src/bin/e_comp_x.c @@ -120,7 +120,7 @@ _e_comp_x_focus_check(void) focused = e_client_focused_get(); /* if there is no new focused or it is a non-X client, * focus comp canvas on focus-out */ - if ((!focused) || (e_pixmap_type_get(focused->pixmap) != E_PIXMAP_TYPE_X)) + if ((!focused) || (!e_client_has_xwindow(focused))) { focus_canvas_time = ecore_x_current_time_get(); focus_time = 0;