aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-09-07 13:37:24 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-09-07 14:15:57 -0400
commit7af9ab44a63e6a4c86b1f59c8ea39c52962c52f6 (patch)
treeb823aa4d43fa692343f70affbb8c1ea99ef9baa6
parentapply pointer focus to existing config dialogs from settings window (diff)
downloadenlightenment-7af9ab44a63e6a4c86b1f59c8ea39c52962c52f6.tar.gz
handle first time desk setting for fullscreen clients without crashing
-rw-r--r--src/bin/e_client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/e_client.c b/src/bin/e_client.c
index 5db62c5d8..ee1f2c7fa 100644
--- a/src/bin/e_client.c
+++ b/src/bin/e_client.c
@@ -2564,7 +2564,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;