summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_device.c8
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_private.h8
2 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_device.c b/src/lib/ecore_drm2/ecore_drm2_device.c
index 250a5960b5..fcd639eb7e 100644
--- a/src/lib/ecore_drm2/ecore_drm2_device.c
+++ b/src/lib/ecore_drm2/ecore_drm2_device.c
@@ -1,13 +1,5 @@
1#include "ecore_drm2_private.h" 1#include "ecore_drm2_private.h"
2 2
3#ifndef DRM_CAP_CURSOR_WIDTH
4# define DRM_CAP_CURSOR_WIDTH 0x8
5#endif
6
7#ifndef DRM_CAP_CURSOR_HEIGHT
8# define DRM_CAP_CURSOR_HEIGHT 0x9
9#endif
10
11#ifndef DRM_CAP_DUMB_PREFER_SHADOW 3#ifndef DRM_CAP_DUMB_PREFER_SHADOW
12# define DRM_CAP_DUMB_PREFER_SHADOW 0x4 4# define DRM_CAP_DUMB_PREFER_SHADOW 0x4
13#endif 5#endif
diff --git a/src/lib/ecore_drm2/ecore_drm2_private.h b/src/lib/ecore_drm2/ecore_drm2_private.h
index 80804ec1b1..0c5937dc51 100644
--- a/src/lib/ecore_drm2/ecore_drm2_private.h
+++ b/src/lib/ecore_drm2/ecore_drm2_private.h
@@ -661,6 +661,14 @@ struct _Ecore_Drm2_Atomic_State
661}; 661};
662# endif 662# endif
663 663
664# ifndef DRM_CAP_CURSOR_WIDTH
665# define DRM_CAP_CURSOR_WIDTH 0x8
666# endif
667
668# ifndef DRM_CAP_CURSOR_HEIGHT
669# define DRM_CAP_CURSOR_HEIGHT 0x9
670# endif
671
664typedef enum _Ecore_Drm2_Backlight_Type 672typedef enum _Ecore_Drm2_Backlight_Type
665{ 673{
666 ECORE_DRM2_BACKLIGHT_RAW, 674 ECORE_DRM2_BACKLIGHT_RAW,