efl/legacy
Christopher Michael aa88c5697d Ecore_X (RandR): Fix long outstanding randr bug which caused
ecore_x_randr to not work for pretty much everyone. Short version,
don't memcpy something potentially Larger into something Certainly
smaller. (read on for the details).

NB: This 'should' fix all the randr problems in ecore_x (tho I have
not tested Everything).

NB: Ok, here goes:
    XRRGetScreenResources returns a struct. Inside that struct is a
    list of RROutputs.

    RROutput is defined as (from randrproto.h):
      #define RROutput CARD32

    CARD32 is defined as (from X11/Xmd.h): 
      # ifdef LONG64
        typedef unsigned long CARD64;
        typedef unsigned int CARD32;
      # else
        typedef unsigned long CARD32;
      # endif
    so CARD32 can change based on the system (32/64 bit).

    Ecore_X_Randr_Output is defined as (Ecore_X.h):
       typedef Ecore_X_ID Ecore_X_Randr_Output;
       (for reference: typedef unsigned int Ecore_X_ID)

    Double bonus points if you have already spotted the problem !! ;)



SVN revision: 76306
2012-09-07 13:12:30 +00:00
..
ecore Ecore_X (RandR): Fix long outstanding randr bug which caused 2012-09-07 13:12:30 +00:00
edje edje : fixed a doc. 2012-09-07 05:19:28 +00:00
eet update header #defined versions to 1.8 to make sure new apis are used 2012-09-03 09:55:34 +00:00
eeze update header #defined versions to 1.8 to make sure new apis are used 2012-09-03 09:55:34 +00:00
efreet update header #defined versions to 1.8 to make sure new apis are used 2012-09-03 09:55:34 +00:00
eina eina eina_list.h: Fixed documentation. Special thanks to Sungho Kwak for spotting this out. 2012-09-07 05:53:36 +00:00
eio Eio: improve path monitoring on Windows 2012-09-06 06:30:29 +00:00
embryo vincent - try this on windows. 2012-09-07 10:12:50 +00:00
emotion update header #defined versions to 1.8 to make sure new apis are used 2012-09-03 09:55:34 +00:00
eobj Eobj: don't install benchmark and examples, request from Tom 2012-09-05 22:53:30 +00:00
ephysics ephysics: update TODO 2012-09-06 17:18:28 +00:00
escape added short description in the missing README contents 2012-04-07 01:25:36 +00:00
ethumb update header #defined versions to 1.8 to make sure new apis are used 2012-09-03 09:55:34 +00:00
evas evas/gl_common - simpler code 2012-09-07 08:31:19 +00:00
evil Evil: add missing fclose(). Suggested by Maxime Villard 2012-09-05 08:31:41 +00:00