GNOME Bugzilla – Bug 747471
[wayland] gdk_screen_get_monitor_geometry() returns invalid geometry
Last modified: 2015-04-09 04:16:37 UTC
It's common for an application to set a default geometry for a window based on the monitor geometry. But gdk_screen_get_monitor_geometry() returns a width and height of zero on the wayland backend. gdk_screen_get_width() and gdk_screen_get_height() also appear to be returning zero.
A bit more info. This only seems to happen for me when displaying the first window. Subsequent queries (after the first window has been displayed) get a valid geometry back from the GdkScreen.