-
Adel Gadllah authored
Currently gdk_screen_get_primary_monitor just returns the first monitor, in this case but both the panel and now gnome-shell use an additional heuristic to prefer LVDS as primary if present. Move this heuristic to gdk_screen_get_primary_monitor to avoid duplicating it all over the place. The fallback heuristic is also used when no primary output is set. https://bugzilla.gnome.org/show_bug.cgi?id=614894
5651cbc4