devilhorns pushed a commit to branch master.

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

    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]>
---
 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 f9178ca..934d910 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