Refactor window ownership and immutable frame sampling
This commit is contained in:
1 parent
c0010ccbb6
commit
07bda5a21c
31 files changed
+1222
-623
No files matched your search
@@ -43,7 +43,7 @@ impl XdgActivationHandler for Ferese {
|
||||
return;
|
||||
};
|
||||
|
||||
self.focused_window = self.window_ids.get(&window).copied();
|
||||
self.focused_window = self.windows.ids().get(&window).copied();
|
||||
if let Some(focused) = self.focused_window
|
||||
&& let Err(error) = self.workspaces.focus_window(focused)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user