Fix potential div0 crash
gdk_monitor_get_geometry() may return 0-size, and leads to crash: https://bugzilla.redhat.com/show_bug.cgi?id=1941627
Signed-off-by: Marc-André Lureau marcandre.lureau@redhat.com
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
gdk_monitor_get_geometry() may return 0-size, and leads to crash: https://bugzilla.redhat.com/show_bug.cgi?id=1941627
Signed-off-by: Marc-André Lureau marcandre.lureau@redhat.com