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:
de89027
)
ecore_wayland: set a role property while creating cursor surface (2)
13/130413/1
author
Doyoun Kang
<doyoun.kang@samsung.com>
Mon, 22 May 2017 08:15:11 +0000
(17:15 +0900)
committer
Doyoun Kang
<doyoun.kang@samsung.com>
Mon, 22 May 2017 08:15:11 +0000
(17:15 +0900)
Change-Id: I981167e20413dfae5ee17fbd337ad1cc730e9620
src/lib/ecore_wayland/ecore_wl_input.c
patch
|
blob
|
history
diff --git
a/src/lib/ecore_wayland/ecore_wl_input.c
b/src/lib/ecore_wayland/ecore_wl_input.c
index
fdff6ce
..
8b804d4
100644
(file)
--- a/
src/lib/ecore_wayland/ecore_wl_input.c
+++ b/
src/lib/ecore_wayland/ecore_wl_input.c
@@
-670,13
+670,14
@@
_ecore_wl_input_seat_handle_capabilities(void *data, struct wl_seat *seat, enum
{
input->cursor_surface =
wl_compositor_create_surface(_ecore_wl_disp->wl.compositor);
- }
- if (_ecore_wl_disp->wl.tz_policy)
- {
+
if (input->cursor_surface)
{
- tizen_policy_set_role(_ecore_wl_disp->wl.tz_policy,
- input->cursor_surface, "wl_pointer-cursor");
+ if (_ecore_wl_disp->wl.tz_policy)
+ {
+ tizen_policy_set_role(_ecore_wl_disp->wl.tz_policy,
+ input->cursor_surface, "wl_pointer-cursor");
+ }
}
}
if (!input->display->cursor_theme)