summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-01-13 10:29:05 -0500
committerChris Michael <cp.michael@samsung.com>2015-01-13 10:35:52 -0500
commit2eb0be048b2be09ffa3002be245fba42c4929072 (patch)
tree627f858a48664cd1ac1bb5000cc6050702874858
parentb613404452154463e1384e458aea5dedca454ef4 (diff)
ecore-drm: Add actual Outut to the Input device structure
Summary: This adds an actual Ecore_Drm_Output pointer to the Ecore_Drm_Evdev structure so we can check the output size to limit mouse corrdinates. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
-rw-r--r--src/lib/ecore_drm/ecore_drm_private.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/lib/ecore_drm/ecore_drm_private.h b/src/lib/ecore_drm/ecore_drm_private.h
index 8b907b5311..2a1bac94fc 100644
--- a/src/lib/ecore_drm/ecore_drm_private.h
+++ b/src/lib/ecore_drm/ecore_drm_private.h
@@ -159,10 +159,7 @@ struct _Ecore_Drm_Evdev
159 159
160 int mt_slot; 160 int mt_slot;
161 161
162 struct 162 Ecore_Drm_Output *output;
163 {
164 int w, h;
165 } output;
166 163
167 /* struct */ 164 /* struct */
168 /* { */ 165 /* { */
@@ -237,8 +234,6 @@ void _ecore_drm_launcher_device_close(const char *device, int fd);
237 234
238Eina_Bool _ecore_drm_tty_switch(Ecore_Drm_Device *dev, int activate_vt); 235Eina_Bool _ecore_drm_tty_switch(Ecore_Drm_Device *dev, int activate_vt);
239 236
240void _ecore_drm_inputs_update_output(Ecore_Drm_Device *dev, int w, int h);
241
242Ecore_Drm_Evdev *_ecore_drm_evdev_device_create(Ecore_Drm_Seat *seat, struct libinput_device *device); 237Ecore_Drm_Evdev *_ecore_drm_evdev_device_create(Ecore_Drm_Seat *seat, struct libinput_device *device);
243void _ecore_drm_evdev_device_destroy(Ecore_Drm_Evdev *evdev); 238void _ecore_drm_evdev_device_destroy(Ecore_Drm_Evdev *evdev);
244Eina_Bool _ecore_drm_evdev_event_process(struct libinput_event *event); 239Eina_Bool _ecore_drm_evdev_event_process(struct libinput_event *event);