95d438b86d
In addition to already grabbing focus in the summary notifications, we also want to grab focus in the new notifications when the user hovers over them and expands them. The notifications that expand automatically will only get focus once the user hovers over them. The notifications that don't expand will never grab focus because they don't need it. Make sure that we toggle the way we grab focus when switching between the overview and the main mode. This is necessary because, unlike summary notifications that pop down when the user moves between the two modes, new notifications keep being shown as long as the user hovers over them or until they time out. https://bugzilla.gnome.org/show_bug.cgi?id=617224