From d81003f1769150dc92d76ef55a140dda9ab70807 Mon Sep 17 00:00:00 2001 From: nandithebull Date: Sun, 29 Nov 2026 23:45:33 -0800 Subject: [PATCH] wm: refresh the generated interface Co-Authored-By: Claude Opus 5.5 --- lib/wm/pkg.generated.mbti | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/wm/pkg.generated.mbti b/lib/wm/pkg.generated.mbti index 684ae5f..ddd3d02 100644 --- a/lib/wm/pkg.generated.mbti +++ b/lib/wm/pkg.generated.mbti @@ -14,6 +14,8 @@ pub fn compute_split_handles(BspNode, Rect, Int32, Int32) -> Array[SplitHandle] pub fn compute_work_area(Rect, excl_top? : Int32, excl_right? : Int32, excl_bottom? : Int32, excl_left? : Int32) -> Rect +pub fn fit_rect(Rect, Rect) -> Rect + pub fn insert_leaf(BspNode?, UInt64, horizontal? : Bool) -> BspNode pub fn remove_leaf(BspNode?, UInt64) -> BspNode? @@ -138,6 +140,7 @@ pub(all) struct WmState { mut border_w : Int32 mut cascade_step : Int32 mut drag : DragSession? + transient_for : Map[UInt64, UInt64] } pub fn WmState::close_window(Self, UInt64, Rect) -> Array[WmAction] pub fn WmState::drag_split(Self, SplitHandle, Int32, Int32, Rect) -> Array[WmAction] @@ -146,6 +149,7 @@ pub fn WmState::fit_work_area(Self, Rect) -> Array[WmAction] pub fn WmState::float_window(Self, UInt64, Rect) -> Array[WmAction] pub fn WmState::handle_request(Self, UInt64, WindowRequest, Rect) -> Array[WmAction] pub fn WmState::hit_test(Self, Int32, Int32, Rect?) -> InputHit +pub fn WmState::inner_work_area(Self, Rect) -> Rect pub fn WmState::new(inner_gap? : Int32, outer_gap? : Int32, titlebar_h? : Int32, border_w? : Int32) -> Self pub fn WmState::open_window(Self, WindowRecord, Rect) -> Array[WmAction] pub fn WmState::relayout(Self, UInt32, Rect) -> Array[WmAction]