xrandr output properties notifications

Tomas Carnecky tom at dbservice.com
Wed Jul 16 03:59:10 PDT 2008


Soeren Sandmann wrote:
> Tomas Carnecky <tom at dbservice.com> writes:
> 
>> Second issue, the OutputPropertyChange event isn't being delivered to my 
>> application. Please compile and run 'xrandr-output-properties.c', this 
>> small utility listens for output property changes. Then compile 
>> 'XRandRSetProfile.c' and run it as './XRandrSetProfile file' where file 
>> is a reasonably small file (you can use for example the C source file of 
>> the app for testing). The app then loads the file into the _ICC_PROFILE 
>> output properties of all outputs. However if you run it, no output 
>> property change events are delivered to the first app.
>> Don't know what the problem could be here, I haven't looked very deeply 
>> at the related code in the xserver.
> 
> This is because of this implementation of RRDeliverEvent:
> 
>         static void
>         RRDeliverEvent (ScreenPtr pScreen, xEvent *event, CARD32 mask)
>         {
>         
>         }
> 
> in randr/rrproperty.c

How difficult would it be to implement this function? Would it be 
similar to RRDeliverCrtcEvent() in randr/rrcrtc.c?

tom




More information about the xorg mailing list