[PATCH 2/2] randr: add provider object (v3.1)

Dave Airlie airlied at gmail.com
Fri Jun 29 01:40:43 PDT 2012


On Fri, Jun 29, 2012 at 3:48 AM, Keith Packard <keithp at keithp.com> wrote:
> Aaron Plattner <aplattner at nvidia.com> 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.


More information about the xorg-devel mailing list