Re: How to do mode setting in Wayland

2016-12-23 Thread Emmanuel Gil Peyrot
On Fri, Dec 23, 2016 at 08:59:20AM +, Zhu, Lingyun wrote: > Hi, Hi, > > I'm trying to set mode for a monitor from 4K@60Hz to 4K@30Hz (all supported) > under wayland/weston. > But it seems there's no api for doing this. That’s correct. > The only mode setting related api is wl_output::mode

How to do mode setting in Wayland

2016-12-23 Thread Zhu, Lingyun
Hi, I'm trying to set mode for a monitor from 4K@60Hz to 4K@30Hz (all supported) under wayland/weston. But it seems there's no api for doing this. The only mode setting related api is wl_output::mode event, but it's a notifying event. How can I change the mode of a monitor under wayland/weston?