diff options
author | Chris Michael <cp.michael@samsung.com> | 2013-03-21 14:52:52 +0000 |
---|---|---|
committer | Chris Michael <cp.michael@samsung.com> | 2013-03-21 14:52:52 +0000 |
commit | f37cb5e4221565eed53fd1206dd33774bba83359 (patch) | |
tree | 0139d1b416606eb54c054e6dddb0946518bc4f1d | |
parent | 414be37f95e944b995cf52333ae1d93e381c400b (diff) | |
download | enlightenment-f37cb5e4221565eed53fd1206dd33774bba83359.tar.gz |
Rename bit flags for having pointer, keyboard, touch.
Add a pointer structure to input to hold the pointer surface,
hotspots, etc.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
-rw-r--r-- | src/bin/e_comp_wl.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/bin/e_comp_wl.h b/src/bin/e_comp_wl.h index 57a0b01bfd..809bd94472 100644 --- a/src/bin/e_comp_wl.h +++ b/src/bin/e_comp_wl.h @@ -223,14 +223,19 @@ struct _E_Wayland_Input struct xkb_state *state; } xkb; - /* E_Wayland_Surface *sprite; */ + struct + { + E_Wayland_Surface *surface; + struct wl_listener surface_destroy_listener; + int hot_x, hot_y; + } pointer; struct wl_surface *saved_focus; struct wl_listener saved_focus_listener; - Eina_Bool pointer : 1; - Eina_Bool keyboard : 1; - Eina_Bool touch : 1; + Eina_Bool has_pointer : 1; + Eina_Bool has_keyboard : 1; + Eina_Bool has_touch : 1; }; /* external variables */ |