feat(wm): add retile with resize socket msg

This commit adds a new SocketMessage variant,
RetileWithResizeDimensions, to preserve any resize dimensions applied by
the user.

This new variant is now used when clicking on a workspace using the
komorebi widget in komorebi-bar.
This commit is contained in:
LGUG2Z
2024-10-13 10:04:09 -07:00
parent 5da72e10df
commit 1376d7be04
3 changed files with 10 additions and 1 deletions

View File

@@ -164,7 +164,10 @@ impl BarWidget for Komorebi {
proceed = false;
}
if proceed && komorebi_client::send_message(&SocketMessage::Retile).is_err() {
if proceed
&& komorebi_client::send_message(&SocketMessage::RetileWithResizeDimensions)
.is_err()
{
tracing::error!("could not send message to komorebi: Retile");
}
}