[PATCH 2/2] randr: add provider object (v3.1)
Keith Packard
keithp at keithp.com
Thu Jun 28 19:48:52 PDT 2012
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...
--
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20120628/ec43a075/attachment.pgp>
More information about the xorg-devel
mailing list