xrandr generated event

Nokan Emiro uzleepito at gmail.com
Sat Jan 9 02:42:07 PST 2010


   Hi,

Could someone please tell me what event should an X client
subscribe and handle to update it's knowledge on screen size
(width and height is saved at client startup from DisplayWidth()
and DisplayHeight())?

If a user switches into an other resolution (for emaple form 1024x768
into 800x600 with:

     $ xrandr --output VGA --mode 800x600

), my X client's widht and height needs to be modified somehow,
and I hope XSelectInput() + XNextEvent() can notify me on these
resolution changes...

THX,
Uzlee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20100109/4634f30a/attachment.html>


More information about the xorg mailing list