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:
3e0a100
)
e_hwc_window: Make sure return an instance of hwc_window properly.
author
Seunghun Lee
<shiin.lee@samsung.com>
Mon, 24 Dec 2018 04:41:33 +0000
(13:41 +0900)
committer
SooChan Lim
<sc1.lim@samsung.com>
Fri, 12 Apr 2019 10:00:22 +0000
(19:00 +0900)
Change-Id: I34943ca8bb34d37470d0f497b6e1c53ec6857036
src/bin/e_hwc_window.c
patch
|
blob
|
history
diff --git
a/src/bin/e_hwc_window.c
b/src/bin/e_hwc_window.c
index bf46f269dc0228d84bdb5700ae9bbdedc75d80d7..7b9e7385bf33973b8a1c1ee11e41e721621b919c 100644
(file)
--- a/
src/bin/e_hwc_window.c
+++ b/
src/bin/e_hwc_window.c
@@
-603,7
+603,7
@@
e_hwc_window_new(E_Hwc *hwc, E_Client *ec, E_Hwc_Window_State state)
if (e_hwc_window_state_get(ec->hwc_window) != state)
e_hwc_window_state_set(ec->hwc_window, state, EINA_FALSE);
-
goto end
;
+
return ec->hwc_window
;
}
thwc = hwc->thwc;
@@
-642,7
+642,6
@@
e_hwc_window_new(E_Hwc *hwc, E_Client *ec, E_Hwc_Window_State state)
hwc_window->ec, hwc_window, hwc->output, ec->zone->id,
hwc_window->is_video, hwc_window->is_cursor);
-end:
return hwc_window;
}