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...

-- 
[email protected]

Attachment: pgpZcQ40P41O6.pgp
Description: PGP signature

_______________________________________________
[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