MCPcopy Create free account
hub / github.com/StrataWM/strata / bbox

Method bbox

src/workspaces.rs:83–87  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

81
82impl StrataWindow {
83 fn bbox(&self) -> Rectangle<i32, Logical> {
84 let mut bbox = self.smithay_window.bbox();
85 bbox.loc += self.rec.loc - self.smithay_window.geometry().loc;
86 bbox
87 }
88
89 fn render_location(&self) -> Point<i32, Logical> {
90 self.rec.loc - self.smithay_window.geometry().loc

Callers 1

window_underMethod · 0.80

Calls 1

geometryMethod · 0.80

Tested by

no test coverage detected