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:
f8ba856
)
e_comp_wl_shell: 'ec->comp_data->shell.surface' has to be NULL.
59/201159/1
author
Seunghun
<shiin.lee@samsung.com>
Mon, 11 Mar 2019 04:26:54 +0000
(13:26 +0900)
committer
Seunghun
<shiin.lee@samsung.com>
Mon, 11 Mar 2019 04:26:54 +0000
(13:26 +0900)
It is to prevent for 'E_Shell_Surface_Api' functions to be called from outside.
Change-Id: I257c1ef1d6db7dffd86a43aa2349b195f8eb55ca
src/bin/e_comp_wl_shell.c
patch
|
blob
|
history
diff --git
a/src/bin/e_comp_wl_shell.c
b/src/bin/e_comp_wl_shell.c
index
2bdf744
..
ec6b184
100644
(file)
--- a/
src/bin/e_comp_wl_shell.c
+++ b/
src/bin/e_comp_wl_shell.c
@@
-413,9
+413,11
@@
e_shell_e_client_destroy(E_Client *ec)
ec->comp_data->shell.unmap(ec->comp_data->shell.surface);
}
}
- ec->comp_data->shell.surface = NULL;
e_policy_client_unmap(ec);
}
+
+ if (ec->comp_data)
+ ec->comp_data->shell.surface = NULL;
}
static void