Re: what are the wayland's APIS can get system resolution and dpi

2014-06-26 Thread Pekka Paalanen
On Fri, 27 Jun 2014 10:32:59 +0800 "Jacky (ZhiJun) Ni" wrote: > Hi all, > > Is there anyone knows the APIS which can get system resolution > and dpi? See http://wayland.freedesktop.org/docs/html/protocol-spec-interface-wl_output.html You get the physical size of the output, and are no

what are the wayland's APIS can get system resolution and dpi

2014-06-26 Thread Jacky (ZhiJun) Ni
Hi all, Is there anyone knows the APIS which can get system resolution and dpi? Normally, I use the following APIS to get them on X11: XOpenDisplay(),DisplayWidth(),DisplayHeight(),DisplayWidthMM(),DisplayHe ightMM(),XCloseDisplay() Best Regards, Jacky Ni CONFIDENT