smallvil: fix bad handling of the active window state
@@ -71,8 +71,9 @@ impl Smallvil {
{
self.space.raise_element(&window, true);
keyboard.set_focus(self, Some(window.toplevel().wl_surface().clone()), serial);
- window.set_activated(true);
+ self.space.elements().for_each(|window| {
window.configure();
+ });
} else {
self.space.elements().for_each(|window| {
window.set_activated(false);
