summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wayland/ecore_wl_private.h
diff options
context:
space:
mode:
authorSrivardhan Hebbar <sri.hebbar@samsung.com>2014-09-17 09:11:46 -0400
committerChris Michael <cp.michael@samsung.com>2014-09-17 09:12:58 -0400
commitc01c8456fecbf979ce0d4a91d6291a93e56486c8 (patch)
tree6b92934944c6310b0a8a0923e63f941406df3464 /src/lib/ecore_wayland/ecore_wl_private.h
parent7db6f1c198b741133d0026ae3089906ca41f2980 (diff)
ecore_wayland: Added cursor_size in Ecore_Wl_Input.
Summary: 1. Added cursor_size to Ecore_Wl_Input struct. 2. Made it configurable through environment variable ECORE_WL_INPUT_CURSOR_SIZE. 3. Added a API ecore_wl_input_cursor_size_set for user to set manually. Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com> Reviewers: devilhorns Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1456 Conflicts: src/lib/ecore_wayland/ecore_wl_private.h
Diffstat (limited to '')
-rw-r--r--src/lib/ecore_wayland/ecore_wl_private.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/ecore_wayland/ecore_wl_private.h b/src/lib/ecore_wayland/ecore_wl_private.h
index 3226253072..d6c7fe90f8 100644
--- a/src/lib/ecore_wayland/ecore_wl_private.h
+++ b/src/lib/ecore_wayland/ecore_wl_private.h
@@ -53,6 +53,11 @@ extern int _ecore_wl_log_dom;
53# endif 53# endif
54# define CRI(...) EINA_LOG_DOM_CRIT(_ecore_wl_log_dom, __VA_ARGS__) 54# define CRI(...) EINA_LOG_DOM_CRIT(_ecore_wl_log_dom, __VA_ARGS__)
55 55
56# ifdef ECORE_WL_DEFAULT_CURSOR_SIZE
57# undef ECORE_WL_DEFAULT_CURSOR_SIZE
58# endif
59# define ECORE_WL_DEFAULT_CURSOR_SIZE 32
60
56typedef struct _Ecore_Wl_Display Ecore_Wl_Display; 61typedef struct _Ecore_Wl_Display Ecore_Wl_Display;
57 62
58struct _Ecore_Wl_Display 63struct _Ecore_Wl_Display
@@ -175,6 +180,7 @@ struct _Ecore_Wl_Input
175 struct wl_callback *cursor_frame_cb; 180 struct wl_callback *cursor_frame_cb;
176 Ecore_Timer *cursor_timer; 181 Ecore_Timer *cursor_timer;
177 unsigned int cursor_current_index; 182 unsigned int cursor_current_index;
183 unsigned int cursor_size;
178 184
179 struct wl_data_device *data_device; 185 struct wl_data_device *data_device;
180 struct wl_data_source *data_source; 186 struct wl_data_source *data_source;