Use the GdkMonitor API; GdkScreen is an X11-ism, and a single screen can cover multiple outputs.
https://developer.gnome.org/gdk3/stable/GdkMonitor.html Ciao, Emmanuele. On Thu, 2 Aug 2018 at 14:58, Wojciech Puchar <w.puc...@digitalsystems.pl> wrote: > > > On 2018.08.02 15:55, Wojciech Puchar wrote: > > how to get width/height of smallest available display - in case of > > multiple monitors are attached? > > > or to be more exact - how to enumerate screens. > > all i need is to get resolution of smallest attached monitor. > _______________________________________________ > gtk-app-devel-list mailing list > gtk-app-devel-list@gnome.org > https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list > -- https://www.bassi.io [@] ebassi [@gmail.com] _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list