diff options
Diffstat (limited to 'src/lib/ecore_drm/ecore_drm_device.c')
-rw-r--r-- | src/lib/ecore_drm/ecore_drm_device.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/lib/ecore_drm/ecore_drm_device.c b/src/lib/ecore_drm/ecore_drm_device.c index 2646483436..bc28205c99 100644 --- a/src/lib/ecore_drm/ecore_drm_device.c +++ b/src/lib/ecore_drm/ecore_drm_device.c | |||
@@ -530,3 +530,14 @@ ecore_drm_device_output_find(Ecore_Drm_Device *dev, int x, int y) | |||
530 | 530 | ||
531 | return NULL; | 531 | return NULL; |
532 | } | 532 | } |
533 | |||
534 | EAPI void | ||
535 | ecore_drm_screen_size_range_get(Ecore_Drm_Device *dev, int *minw, int *minh, int *maxw, int *maxh) | ||
536 | { | ||
537 | EINA_SAFETY_ON_NULL_RETURN(dev); | ||
538 | |||
539 | if (minw) *minw = dev->min_width; | ||
540 | if (minh) *minh = dev->min_height; | ||
541 | if (maxw) *maxw = dev->max_width; | ||
542 | if (maxh) *maxh = dev->max_height; | ||
543 | } | ||