On Thu, 31 May 2012 01:37:25 +0200 Leif Middelschulte <leif.middelschu...@gmail.com> said:
> 2012/5/31 Vincent Torri <vincent.to...@gmail.com>: > > add at least some doc for the new API (@since) > This is a bit problematic. > This precise policy value (ASK) is actually just interesting to e17. > So maybe I should move it there instead? > The other policies are used by ecore_x was well e.g. for alignment. > But the "ask" value doesn't make too any sense there. ask policy == "e will manually take care of the new screen itself". in fact in almost all cases e will. it will use its own configuration to know what to do. one such config option is "always ask me about extra screens after the first as to what i want to do with them". :) > > Vincent > > > > On Wed, May 30, 2012 at 9:16 PM, Enlightenment SVN > > <no-re...@enlightenment.org> wrote: > >> Log: > >> ecore_x_randr: Add _ASK policy for new monitors. > >> > >> Author: leif > >> Date: 2012-05-30 12:16:29 -0700 (Wed, 30 May 2012) > >> New Revision: 71565 > >> Trac: http://trac.enlightenment.org/e/changeset/71565 > >> > >> Modified: > >> trunk/ecore/ChangeLog trunk/ecore/NEWS > >> trunk/ecore/src/lib/ecore_x/Ecore_X.h > >> trunk/ecore/src/lib/ecore_x/xcb/ecore_xcb_randr.c > >> trunk/ecore/src/lib/ecore_x/xlib/ecore_x_randr_12.c > >> > >> Modified: trunk/ecore/ChangeLog > >> =================================================================== > >> --- trunk/ecore/ChangeLog 2012-05-30 17:42:26 UTC (rev 71564) > >> +++ trunk/ecore/ChangeLog 2012-05-30 19:16:29 UTC (rev 71565) > >> @@ -699,3 +699,6 @@ > >> * Small fix to ecore-evas buffer engine on resize to make the > >> right kind of buffer cavas (ARGB32 vs RGB32). > >> > >> +2012-05-30 Leif Middelschulte (T_UNIX) > >> + > >> + * Add ECORE_X_RANDR_OUTPUT_POLICY_ASK > >> > >> Modified: trunk/ecore/NEWS > >> =================================================================== > >> --- trunk/ecore/NEWS 2012-05-30 17:42:26 UTC (rev 71564) > >> +++ trunk/ecore/NEWS 2012-05-30 19:16:29 UTC (rev 71565) > >> @@ -18,6 +18,11 @@ > >> - Force cancel of all running Ecore_Thread on shutdown. > >> - Make Ecore_Thread work reliably when called without a running main > >> loop. > >> > >> +Additions: > >> + > >> + * ecore_x: > >> + - ECORE_X_RANDR_OUTPUT_POLICY_ASK > >> + > >> Ecore 1.2.0 > >> > >> Changes since Ecore 1.1.0: > >> > >> Modified: trunk/ecore/src/lib/ecore_x/Ecore_X.h > >> =================================================================== > >> --- trunk/ecore/src/lib/ecore_x/Ecore_X.h 2012-05-30 17:42:26 UTC > >> (rev 71564) +++ trunk/ecore/src/lib/ecore_x/Ecore_X.h 2012-05-30 > >> 19:16:29 UTC (rev 71565) @@ -197,7 +197,8 @@ > >> ECORE_X_RANDR_OUTPUT_POLICY_BELOW = 3, > >> ECORE_X_RANDR_OUTPUT_POLICY_LEFT = 4, > >> ECORE_X_RANDR_OUTPUT_POLICY_CLONE = 5, > >> - ECORE_X_RANDR_OUTPUT_POLICY_NONE = 6 > >> + ECORE_X_RANDR_OUTPUT_POLICY_NONE = 6, > >> + ECORE_X_RANDR_OUTPUT_POLICY_ASK = 7 > >> } Ecore_X_Randr_Output_Policy; > >> > >> typedef enum _Ecore_X_Randr_Relative_Alignment > >> > >> Modified: trunk/ecore/src/lib/ecore_x/xcb/ecore_xcb_randr.c > >> =================================================================== > >> --- trunk/ecore/src/lib/ecore_x/xcb/ecore_xcb_randr.c 2012-05-30 > >> 17:42:26 UTC (rev 71564) +++ > >> trunk/ecore/src/lib/ecore_x/xcb/ecore_xcb_randr.c 2012-05-30 19:16:29 > >> UTC (rev 71565) @@ -1848,6 +1848,8 @@ > >> > >> case ECORE_X_RANDR_OUTPUT_POLICY_NONE: > >> break; > >> + default: > >> + return EINA_FALSE; > >> } > >> > >> if ((xn == r1.x) && (yn == r1.x)) return EINA_TRUE; > >> > >> Modified: trunk/ecore/src/lib/ecore_x/xlib/ecore_x_randr_12.c > >> =================================================================== > >> --- trunk/ecore/src/lib/ecore_x/xlib/ecore_x_randr_12.c 2012-05-30 > >> 17:42:26 UTC (rev 71564) +++ > >> trunk/ecore/src/lib/ecore_x/xlib/ecore_x_randr_12.c 2012-05-30 19:16:29 > >> UTC (rev 71565) @@ -1498,6 +1498,8 @@ */ > >> case ECORE_X_RANDR_OUTPUT_POLICY_NONE: > >> break; > >> + default: > >> + return EINA_FALSE; > >> } > >> if ((x_n == r1_geo.x) && (y_n == r1_geo.x)) > >> return EINA_TRUE; > >> > >> > >> ------------------------------------------------------------------------------ > >> Live Security Virtual Conference > >> Exclusive live event will cover all the ways today's security and > >> threat landscape has changed and how IT managers can respond. Discussions > >> will include endpoint security, mobile security and the latest in malware > >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >> _______________________________________________ > >> enlightenment-svn mailing list > >> enlightenment-...@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > enlightenment-devel mailing list > > enlightenment-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > > > -- > Leif > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ras...@rasterman.com ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel