summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2015-11-09 14:29:23 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2015-11-09 14:29:23 -0500
commit551657e02a1165c3940a98c10f5d2019d1c6a5fe (patch)
tree7872eb853d04073790e333a0a891254a992a5a9e
parent945f9506cf7377bf01de3a6a87a669be0f290fb3 (diff)
check client comp data existence in x11 mirror visibility callbacks
-rw-r--r--src/bin/e_comp_x.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c
index e5a098967..dce9641e3 100644
--- a/src/bin/e_comp_x.c
+++ b/src/bin/e_comp_x.c
@@ -1176,9 +1176,9 @@ _e_comp_x_evas_mirror_hidden(void *data, Evas_Object *obj EINA_UNUSED, void *eve
1176{ 1176{
1177 E_Client *ec = data; 1177 E_Client *ec = data;
1178 1178
1179 if (!_e_comp_x_client_data_get(ec)) return;
1179 if ((!ec->iconic) || (!ec->comp_data->iconic)) return; 1180 if ((!ec->iconic) || (!ec->comp_data->iconic)) return;
1180 if (_e_comp_x_client_data_get(ec)) 1181 _e_comp_x_client_hide(ec);
1181 _e_comp_x_client_hide(ec);
1182} 1182}
1183 1183
1184static void 1184static void
@@ -1186,9 +1186,9 @@ _e_comp_x_evas_mirror_visible(void *data, Evas_Object *obj EINA_UNUSED, void *ev
1186{ 1186{
1187 E_Client *ec = data; 1187 E_Client *ec = data;
1188 1188
1189 if (!_e_comp_x_client_data_get(ec)) return;
1189 if ((!ec->iconic) || ec->comp_data->iconic) return; 1190 if ((!ec->iconic) || ec->comp_data->iconic) return;
1190 if (_e_comp_x_client_data_get(ec)) 1191 _e_comp_x_client_show(ec);
1191 _e_comp_x_client_show(ec);
1192} 1192}
1193 1193
1194static void 1194static void