Rename window -> tile, fix popup unconstraining window_y

I missed the window_y thing and found it thanks to the rename. Too lazy
to split it into a commit.
This commit is contained in:
Ivan Molodetskikh
2023-12-28 08:14:35 +04:00
parent c21805bf70
commit 777ad4ee5c
4 changed files with 134 additions and 132 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ impl<W: LayoutElement> Tile<W> {
}
/// Returns the location of the window's visual geometry within this Tile.
fn window_loc(&self) -> Point<i32, Logical> {
pub fn window_loc(&self) -> Point<i32, Logical> {
let mut loc = Point::from((0, 0));
// In fullscreen, center the window in the given size.