Add api to get the primary monitor of the screen
We don't actually use the full xrandr to get the primary monitor, we just rely on the xrandr xinerama compat code to return the primary monitor first. This lets us avoid adding unnecessary xrandr code and avoids issues with _NET_WM_FULLSCREEN_MONITORS monitor indexes being defined wrt xinerama monitor index order. https://bugzilla.gnome.org/show_bug.cgi?id=609258
parent
de8eb1f8
Please register or sign in to comment