• Dorota Czaplejewicz's avatar
    layouts: Stop assuming that layout name always changes on switch · 4fdce280
    Dorota Czaplejewicz authored
    Layout type switching outside of overlay was always done with gsettings in the middle, assuming that all clicks on languages in the popover result in a gsettings event. That's a bad assumption if there's only one xkb lang present.
    
    This is a simple work around. A better solution would be to turn the entire system of layout switching into a central object that receives messages about changes that need to be applied, and then applies them.
    4fdce280
popover.rs 14.6 KB