projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
945f950
)
check client comp data existence in x11 mirror visibility callbacks
author
Mike Blumenkrantz
<zmike@osg.samsung.com>
Mon, 9 Nov 2015 19:29:23 +0000
(14:29 -0500)
committer
Mike Blumenkrantz
<zmike@osg.samsung.com>
Mon, 9 Nov 2015 19:29:23 +0000
(14:29 -0500)
src/bin/e_comp_x.c
patch
|
blob
|
history
diff --git
a/src/bin/e_comp_x.c
b/src/bin/e_comp_x.c
index e5a0989673505276d64fdb699b7330879b9c95c3..dce9641e3019727c6bb7e0d82c126a590517bd25 100644
(file)
--- 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
{
E_Client *ec = data;
+ if (!_e_comp_x_client_data_get(ec)) return;
if ((!ec->iconic) || (!ec->comp_data->iconic)) return;
- if (_e_comp_x_client_data_get(ec))
- _e_comp_x_client_hide(ec);
+ _e_comp_x_client_hide(ec);
}
static void
@@
-1186,9
+1186,9
@@
_e_comp_x_evas_mirror_visible(void *data, Evas_Object *obj EINA_UNUSED, void *ev
{
E_Client *ec = data;
+ if (!_e_comp_x_client_data_get(ec)) return;
if ((!ec->iconic) || ec->comp_data->iconic) return;
- if (_e_comp_x_client_data_get(ec))
- _e_comp_x_client_show(ec);
+ _e_comp_x_client_show(ec);
}
static void