diff options
author | Mike Blumenkrantz <zmike@osg.samsung.com> | 2015-11-09 14:29:23 -0500 |
---|---|---|
committer | Mike Blumenkrantz <zmike@osg.samsung.com> | 2015-11-09 14:35:22 -0500 |
commit | 014d700f9197a51127191be6673ab78e04b128f8 (patch) | |
tree | 8713dc71f12d9a9ee9f21b4fc23462a044a0e342 | |
parent | 245bb979221cb0dca3252b103b3cb274ddd3d916 (diff) | |
download | enlightenment-014d700f9197a51127191be6673ab78e04b128f8.tar.gz |
check client comp data existence in x11 mirror visibility callbacks
-rw-r--r-- | src/bin/e_comp_x.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c index 1ac852136b..00c231446b 100644 --- a/src/bin/e_comp_x.c +++ b/src/bin/e_comp_x.c @@ -1158,9 +1158,9 @@ _e_comp_x_evas_mirror_hidden(void *data, Evas_Object *obj EINA_UNUSED, void *eve { E_Client *ec = data; + if (!ec->comp_data) return; if ((!ec->iconic) || (!ec->comp_data->iconic)) return; - if (ec->comp_data) - _e_comp_x_client_hide(ec); + _e_comp_x_client_hide(ec); } static void @@ -1168,9 +1168,9 @@ _e_comp_x_evas_mirror_visible(void *data, Evas_Object *obj EINA_UNUSED, void *ev { E_Client *ec = data; + if (!ec->comp_data) return; if ((!ec->iconic) || ec->comp_data->iconic) return; - if (ec->comp_data) - _e_comp_x_client_show(ec); + _e_comp_x_client_show(ec); } static void |