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>
This commit is contained in:
Chris Michael 2015-01-13 10:29:05 -05:00
parent b613404452
commit 2eb0be048b
1 changed files with 1 additions and 6 deletions

View File

@ -159,10 +159,7 @@ struct _Ecore_Drm_Evdev
int mt_slot;
struct
{
int w, h;
} output;
Ecore_Drm_Output *output;
/* struct */
/* { */
@ -237,8 +234,6 @@ void _ecore_drm_launcher_device_close(const char *device, int fd);
Eina_Bool _ecore_drm_tty_switch(Ecore_Drm_Device *dev, int activate_vt);
void _ecore_drm_inputs_update_output(Ecore_Drm_Device *dev, int w, int h);
Ecore_Drm_Evdev *_ecore_drm_evdev_device_create(Ecore_Drm_Seat *seat, struct libinput_device *device);
void _ecore_drm_evdev_device_destroy(Ecore_Drm_Evdev *evdev);
Eina_Bool _ecore_drm_evdev_event_process(struct libinput_event *event);