Bell confusion with master vs. slave devices in Xorg 1.7.6

Alan Coopersmith alan.coopersmith at oracle.com
Mon Apr 19 07:47:10 PDT 2010


Peter Hutterer wrote:
>> Why not have the slave inherit the volume level of the master when it is
>> attached?
> 
> Careful here - a client may change the bell on just one device and detach it
> (or implicitly detach with a grab). In this case, the device shouldn't
> inherit the bell volume from the master again - that's why it was set on the
> device directly. 
> 
> Where the above approach would work is on the first EnableDevice() for this
> device - this is guaranteed to be the first attachment and the one where we
> may change the bell volume based on the MD.

Should xset on the VCK update the values in defaultKeyboardControl then?

-- 
	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System



More information about the xorg-devel mailing list