forked from enlightenment/efl
Check for valid windows hash before searching it.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
5d1dec17b3
commit
d163e5df1f
|
@ -542,6 +542,7 @@ ecore_wl_window_find(unsigned int id)
|
|||
{
|
||||
Ecore_Wl_Window *win = NULL;
|
||||
|
||||
if (!_windows) return NULL;
|
||||
win = eina_hash_find(_windows, _ecore_wl_window_id_str_get(id));
|
||||
return win;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue