Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On bar removal restore MonitorWorkAreaOffset #14

Open
codyduong opened this issue Jul 16, 2024 · 1 comment · Fixed by #9
Open

On bar removal restore MonitorWorkAreaOffset #14

codyduong opened this issue Jul 16, 2024 · 1 comment · Fixed by #9
Assignees
Labels
bug Something isn't working priority low
Milestone

Comments

@codyduong
Copy link
Owner

let _ = komorebi_client::send_message(&komorebi_client::SocketMessage::MonitorWorkAreaOffset(
model.index,
komorebi_client::Rect { left: 0, top: height, right: 0, bottom: height }
));

If a bar is destroyed either on purpose or program crash, we will have a weird gap at where the bar once was.

So set MonitorWorkAreaOffset to 0,0,0,0

@codyduong codyduong added bug Something isn't working priority low labels Jul 16, 2024
@codyduong codyduong added this to the 0.1.0 milestone Jul 16, 2024
@codyduong codyduong self-assigned this Jul 16, 2024
@codyduong codyduong mentioned this issue Jul 24, 2024
@codyduong codyduong reopened this Jul 24, 2024
@codyduong
Copy link
Owner Author

This implementation doesn't actually work LOL! todo investiage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority low
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant