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:
3ce64d3
)
Revert "subsurface: declare local variable at the beginning of a function."
45/239045/1
author
Seunghun Lee
<shiin.lee@samsung.com>
Tue, 21 Jul 2020 09:44:30 +0000
(18:44 +0900)
committer
Seunghun Lee
<shiin.lee@samsung.com>
Tue, 21 Jul 2020 09:45:30 +0000
(18:45 +0900)
This reverts commit
4ebe643bdbd69ddea5c94439c3a0085836e91598
.
Change-Id: Ia2d816b5e5d5c62f96b55723d26fd5a88904ffb6
src/bin/e_comp_wl_subsurface.c
patch
|
blob
|
history
diff --git
a/src/bin/e_comp_wl_subsurface.c
b/src/bin/e_comp_wl_subsurface.c
index 96e32406a4247f4b624db8eba37650486f1ac7ec..e199bd67875119f28a8ddcfe8458f0d7419e3cc0 100644
(file)
--- a/
src/bin/e_comp_wl_subsurface.c
+++ b/
src/bin/e_comp_wl_subsurface.c
@@
-164,11
+164,9
@@
_e_comp_wl_subsurface_below_obj_destroy(E_Client *ec)
static void
_e_comp_wl_subsurface_check_below_bg_rectangle(E_Client *ec)
{
- E_Client *topmost;
-
if (ec->comp_data->sub.data)
{
- topmost = e_comp_wl_topmost_parent_get(ec);
+
E_Client *
topmost = e_comp_wl_topmost_parent_get(ec);
if (!topmost || e_object_is_del(E_OBJECT(topmost)) || !topmost->comp_data) return;
if (topmost->comp_data->sub.data) return;
_e_comp_wl_subsurface_check_below_bg_rectangle(topmost);