projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccd2a1b
)
ecore_wl2: change code ecore_wl2_display_window_find_by_surface
author
Doyoun Kang
<doyoun.kang@samsung.com>
Sun, 12 Nov 2017 06:31:45 +0000
(15:31 +0900)
committer
Jiyoun Park
<jy0703.park@samsung.com>
Tue, 19 Dec 2017 05:34:13 +0000
(14:34 +0900)
Change-Id: I40aa1030001250292244b8f67a096e96226a1585
src/lib/ecore_wl2/ecore_wl2_display.c
patch
|
blob
|
history
diff --git
a/src/lib/ecore_wl2/ecore_wl2_display.c
b/src/lib/ecore_wl2/ecore_wl2_display.c
index
17a5821
..
00047b3
100644
(file)
--- a/
src/lib/ecore_wl2/ecore_wl2_display.c
+++ b/
src/lib/ecore_wl2/ecore_wl2_display.c
@@
-1457,14
+1457,7
@@
ecore_wl2_display_window_find(Ecore_Wl2_Display *display, unsigned int id)
EAPI Ecore_Wl2_Window *
ecore_wl2_display_window_find_by_surface(Ecore_Wl2_Display *display, struct wl_surface *surface)
{
- Ecore_Wl2_Window *window;
-
- EINA_SAFETY_ON_NULL_RETURN_VAL(display, NULL);
-
- EINA_INLIST_FOREACH(display->windows, window)
- if (window->surface == surface) return window;
-
- return NULL;
+ return _ecore_wl2_display_window_surface_find(display, surface);
}
//