some changes to views...

- properly set wm capabilities
 - ensure the the client knows about our ssds before the initial commit
 - actually hook up the ack_configure event

This commit also comes with a regression. When trying to close a
non-existent view mez crashes.
This commit is contained in:
Squibid 2025-12-22 20:17:09 -05:00
parent dd09196e02
commit 1215b8e5de
Signed by: squibid
GPG key ID: BECE5684D3C4005D
3 changed files with 35 additions and 38 deletions

View file

@ -284,3 +284,15 @@ pub fn get_enabled(L: *zlua.Lua) i32 {
L.pushNil();
return 1;
}
/// TODO: impl
/// Setting the wm capabilities is for telling the client what they can request.
/// This is important to letting the user define whatever type of layout they
/// wish and have it be as seamless as possbile.
///
/// NOTE(squibid): this should be handled by the layout_manager to reduce the
/// work required by the user
pub fn setWmCapabilities(L: *zlua.Lua) i32 {
_ = L;
return 0;
}