cleanup
This commit is contained in:
parent
b3a4219c93
commit
2542f7ecd7
1 changed files with 0 additions and 2 deletions
|
|
@ -105,7 +105,6 @@ pub fn spawn_workspaces(tx: glib::Sender<State>) -> SyncSender<WorkspaceEvent> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Event::Msg(WorkspaceEvent::Scroll(v)) => {
|
Event::Msg(WorkspaceEvent::Scroll(v)) => {
|
||||||
dbg!(v);
|
|
||||||
if let Some((w_g, w_i)) = state
|
if let Some((w_g, w_i)) = state
|
||||||
.workspace_groups
|
.workspace_groups
|
||||||
.iter()
|
.iter()
|
||||||
|
|
@ -361,7 +360,6 @@ impl Dispatch<ZextWorkspaceHandleV1, ()> for State {
|
||||||
.iter_mut()
|
.iter_mut()
|
||||||
.find(|w| &w.workspace_handle == workspace)
|
.find(|w| &w.workspace_handle == workspace)
|
||||||
}) {
|
}) {
|
||||||
dbg!(&state);
|
|
||||||
if state.len() == 4 {
|
if state.len() == 4 {
|
||||||
// XXX is it little endian??
|
// XXX is it little endian??
|
||||||
w.state = u32::from_le_bytes(state.try_into().unwrap());
|
w.state = u32::from_le_bytes(state.try_into().unwrap());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue