mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-08-27 06:04:00 +02:00
chore(deps): cargo update
This commit is contained in:
Generated
+396
-291
File diff suppressed because it is too large
Load Diff
+268
-272
File diff suppressed because it is too large
Load Diff
@@ -23,7 +23,7 @@ font-loader = "0.11"
|
||||
hotwatch = { workspace = true }
|
||||
image = "0.25"
|
||||
lazy_static = { workspace = true }
|
||||
netdev = "0.41"
|
||||
netdev = "0.46"
|
||||
num = "0.4"
|
||||
num-derive = "0.4"
|
||||
num-traits = "0.2"
|
||||
|
||||
@@ -377,7 +377,7 @@ impl Monitor {
|
||||
}
|
||||
|
||||
pub fn remove_workspaces(&mut self) -> VecDeque<Workspace> {
|
||||
self.workspaces_mut().drain(..).collect()
|
||||
std::mem::take(self.workspaces_mut())
|
||||
}
|
||||
|
||||
#[tracing::instrument(skip(self))]
|
||||
|
||||
@@ -768,9 +768,7 @@ impl WindowManager {
|
||||
|
||||
// Reset any resize adjustments if we want to force a retile
|
||||
if !preserve_resize_dimensions {
|
||||
for resize in &mut workspace.resize_dimensions {
|
||||
*resize = None;
|
||||
}
|
||||
workspace.resize_dimensions.fill(None);
|
||||
}
|
||||
|
||||
if (workspace.wallpaper.is_some() || monitor_wp.is_some())
|
||||
@@ -2986,8 +2984,7 @@ impl WindowManager {
|
||||
|
||||
let target_idx = match &workspace.layout {
|
||||
Layout::Default(_) => 0,
|
||||
Layout::Custom(custom) => custom
|
||||
.first_container_idx(custom.primary_idx().map_or(0, |primary_idx| primary_idx)),
|
||||
Layout::Custom(custom) => custom.first_container_idx(custom.primary_idx().unwrap_or(0)),
|
||||
};
|
||||
|
||||
workspace.focus_container(target_idx);
|
||||
|
||||
Reference in New Issue
Block a user