use xwindow check to determine whether to check icccm accept/take focus attrs

This commit is contained in:
Mike Blumenkrantz 2017-08-18 15:52:52 -04:00
parent 33e8bf0a49
commit a4e0c5a836
1 changed files with 1 additions and 1 deletions

View File

@ -1815,7 +1815,7 @@ _e_comp_intercept_focus(void *data, Evas_Object *obj, Eina_Bool focus)
* expect us to emulate a look of focus but not actually set x input
* focus as we do - so simply abort any focus set on such windows */
/* be strict about accepting focus hint */
if (e_pixmap_is_x(ec->pixmap))
if (e_client_has_xwindow(ec))
{
/* be strict about accepting focus hint */
if ((!ec->icccm.accepts_focus) &&