driver: Account for multi monitor when checking for small screen
gdk_screen_get_height() is deprecated in favour of per-monitor APIs. So, when deciding whether to show the window in small-screen mode, we check the height of the monitor on which the window is currently displaying. If the window isn't realized yet, we check the primary monitor, assuming that's where the window will eventually be realized onto.