From 777ad4ee5c8cf84b2bfa13c6bdb0d254c24881f9 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Thu, 28 Dec 2023 08:14:35 +0400 Subject: 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. --- src/layout/tile.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/layout/tile.rs') 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 Tile { } /// Returns the location of the window's visual geometry within this Tile. - fn window_loc(&self) -> Point { + pub fn window_loc(&self) -> Point { let mut loc = Point::from((0, 0)); // In fullscreen, center the window in the given size. -- cgit