On Wed, 2008-05-07 at 21:30 +0100, Ross Burton wrote: > On Wed, 2008-05-07 at 23:15 +0300, Daniel Stone wrote: > > On Wed, May 07, 2008 at 09:12:49PM +0100, Ross Burton wrote: > > > Is there some way for X clients to be notified when output devices are > > > hotplugged? I have a script that I manually run when I plug in my > > > external monitor (xrandr, change wallpaper, etc) which I'd like to have > > > ran automatically instead. > > > > See RROutputChangeNotifyEvent. Unfortunately, this only really works > > for TMDS/DVI, as VGA requires polling. > > An option to poll would be much appreciated... We haven't implemented this because it comes at a heavy power cost. Probably a watt on the graphics chip, plus whatever you're wasting from powering your cpu up to do the load-detect. -- Eric Anholt anholt@xxxxxxxxxxx eric@xxxxxxxxxx eric.anholt@xxxxxxxxx
Attachment:
signature.asc
Description: This is a digitally signed message part
_______________________________________________ xorg mailing list xorg@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/xorg