shell: Implement Workspace Layout
This commit is contained in:
parent
cb3e8d42a7
commit
be918152d5
7 changed files with 261 additions and 80 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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?
|
||||
}
|
||||
}
|
||||
_ => {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue