princeamd pushed a commit to branch ecore-1.7.

commit 9afd0fc3b089aa6d203f06054e9040eaedec0e5b
Author: Chris Michael <[email protected]>
Date:   Thu Jun 27 10:45:04 2013 +0100

    Backport: d263e31 :: When getting crtc info, fill in missing "rotations" 
field so that the value is initialized.
    
    NB: Spank Spank whoever did this ... oh wait, that was me :( Ouch !!
    
    Signed-off-by: Chris Michael <[email protected]>
    Signed-off-by: Deon Thomas <[email protected]>
---
 src/lib/ecore_x/xlib/ecore_x_randr.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/ecore_x/xlib/ecore_x_randr.c 
b/src/lib/ecore_x/xlib/ecore_x_randr.c
index 076ccf6..1ccb5e5 100644
--- a/src/lib/ecore_x/xlib/ecore_x_randr.c
+++ b/src/lib/ecore_x/xlib/ecore_x_randr.c
@@ -1865,6 +1865,7 @@ ecore_x_randr_crtc_info_get(Ecore_X_Window root, const 
Ecore_X_Randr_Crtc crtc)
                   ret->height = info->height;
                   ret->mode = info->mode;
                   ret->rotation = info->rotation;
+                  ret->rotations = info->rotations;
                   ret->noutput = info->noutput;
                   ret->npossible = info->npossible;
 

-- 

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev

Reply via email to