aboutsummaryrefslogtreecommitdiff
path: root/src/layout/tile.rs
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2023-12-28 08:14:35 +0400
committerIvan Molodetskikh <yalterz@gmail.com>2023-12-28 08:25:42 +0400
commit777ad4ee5c8cf84b2bfa13c6bdb0d254c24881f9 (patch)
treea4f33362d0300ecdb8cf82fd3cd3b2837b634957 /src/layout/tile.rs
parentc21805bf705bd36a6eb7f79039b759e9af79dfcb (diff)
downloadniri-777ad4ee5c8cf84b2bfa13c6bdb0d254c24881f9.tar.gz
niri-777ad4ee5c8cf84b2bfa13c6bdb0d254c24881f9.tar.bz2
niri-777ad4ee5c8cf84b2bfa13c6bdb0d254c24881f9.zip
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.
Diffstat (limited to 'src/layout/tile.rs')
-rw-r--r--src/layout/tile.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layout/tile.rs b/src/layout/tile.rs
index 2e8dcd90..56af4fa4 100644
--- a/src/layout/tile.rs
+++ b/src/layout/tile.rs
@@ -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.