devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=0dc439abbc44e90067c9ad3c2696787285be53d6

commit 0dc439abbc44e90067c9ad3c2696787285be53d6
Author: Chris Michael <[email protected]>
Date:   Tue Jun 6 10:44:55 2017 -0400

    ecore-drm2: Fix output backlight value type definitions
    
    When we go to set output backlight level we use doubles, so lets just
    store these values as doubles in the structure.
    
    @fix
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/lib/ecore_drm2/ecore_drm2_private.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/ecore_drm2/ecore_drm2_private.h 
b/src/lib/ecore_drm2/ecore_drm2_private.h
index abf8b97ffb..1d3300ea11 100644
--- a/src/lib/ecore_drm2/ecore_drm2_private.h
+++ b/src/lib/ecore_drm2/ecore_drm2_private.h
@@ -766,7 +766,7 @@ struct _Ecore_Drm2_Output
    struct
      {
         const char *path;
-        int value, max;
+        double value, max;
         Ecore_Drm2_Backlight_Type type;
      } backlight;
 

-- 


Reply via email to