forked from enlightenment/enlightenment
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
69c85fc1aa
commit
836845a615
|
@ -118,7 +118,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