handle first time desk setting for fullscreen clients without crashing

ref T5988
devs/bu5hm4n/sandbox_fix
Mike Blumenkrantz 5 years ago
parent 09952cb5ef
commit 72b979ca2b
  1. 3
      src/bin/e_client.c

@ -2832,7 +2832,8 @@ e_client_desk_set(E_Client *ec, E_Desk *desk)
if (ec->fullscreen)
{
ec->desk->fullscreen_clients = eina_list_remove(ec->desk->fullscreen_clients, ec);
if (ec->desk)
ec->desk->fullscreen_clients = eina_list_remove(ec->desk->fullscreen_clients, ec);
desk->fullscreen_clients = eina_list_append(desk->fullscreen_clients, ec);
}
old_desk = ec->desk;

Loading…
Cancel
Save