check for efreet desktop if EITHER icccm name/class is set
allows wayland clients, which only set class here, to find their desktop
This commit is contained in:
parent
b2969cb880
commit
37b11d932d
|
@ -1847,7 +1847,7 @@ _e_client_eval(E_Client *ec)
|
|||
}
|
||||
if (!ec->desktop)
|
||||
{
|
||||
if ((ec->icccm.name) && (ec->icccm.class))
|
||||
if ((ec->icccm.name) || (ec->icccm.class))
|
||||
ec->desktop = efreet_util_desktop_wm_class_find(ec->icccm.name,
|
||||
ec->icccm.class);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue