shell: Implement Workspace Layout

This commit is contained in:
Victoria Brekenfeld 2023-05-25 00:10:24 +02:00
parent cb3e8d42a7
commit be918152d5
7 changed files with 261 additions and 80 deletions

View file

@ -48,7 +48,7 @@ impl ToplevelManagementHandler for State {
.unwrap()
.clone();
self.common.shell.activate(&output, idx as usize);
let _ = self.common.shell.activate(&output, idx as usize); // TODO: Move pointer?
mapped.focus_window(window);
Common::set_focus(self, Some(&mapped.clone().into()), &seat, None);
return;

View file

@ -45,7 +45,7 @@ impl WorkspaceHandler for State {
};
if let Some((output, idx)) = maybe {
self.common.shell.activate(&output, idx);
let _ = self.common.shell.activate(&output, idx); // TODO: move cursor?
}
}
_ => {}