On Fri, Jun 29, 2012 at 3:48 AM, Keith Packard <[email protected]> wrote:
> Aaron Plattner <[email protected]> writes:
>
>> On 06/28/2012 03:21 AM, Dave Airlie wrote:
>
>> Keith, thoughts?
>
> Well, RRScreenChangeNotify is supposed to signal any 'screen
> configuration changes', which presumably includes adding or removing
> crtcs or outputs...
>
> However, something a bit simpler, like a global event that reported when
> the available resources changed might be more useful for applications
>
> RRResourceChangeNotify
>
> ┌───
>     RRResourceChangeNotify:
>         window: WINDOW                  window requesting notification
>         time: TIMESTAMP                 time property was changed
> └───
>
>         This event is reported to clients selecting RRResourceChange
>         on the window and is generated whenever the set of available
>         RandR resources associated with the screen has changed, either
>         created or destroyed. Querying the list of available resources
>         with RRGetScreenResources will return the new set.
>
> We could get really fancy and add Create/Destroy notifiers, but I don't
> think it's all that important...

Definitely I can work with that, will stick it into the 1.5 proto stuff.

Dave.
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to