[Xcb] xcb_randr

Peter Harris peter.harris at hummingbird.com
Wed Dec 10 08:35:01 PST 2008


Michael Grunditz wrote:
> I am trying to understand how xcb_randr works , I am interested to use
> it for changing resolution. I have studied the headers and the
> "xrandr" program. My guess is that I want to use
>  xcb_randr_set_screen_size.
> 
> Do I need something more than that , if I use
> xcb_randr_set_screen_size , nothing happens.  xcb_randr_query_version
> returns 1.2, so the server supports randr.

Did you remember to xcb_flush()? Did you check for errors afterwards?

Hard to say without seeing actual code, of course.

Peter Harris
-- 
     Hummingbird Connectivity - A Division of Open Text
Peter Harris                    http://connectivity.hummingbird.com
Research and Development        Phone: +1 905 762 6001
peter.harris at hummingbird.com    Toll Free: 1 877 359 4866


More information about the Xcb mailing list