use xwayland check for clients when checking whether to reset focus to root
checking base pixmap returns false for xwayland clients
This commit is contained in:
parent
7295699c09
commit
2e4207027d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue