mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-04-24 01:28:39 +02:00
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:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user