From b394c84b37eacb266d45663d5d6626f1b616af7e Mon Sep 17 00:00:00 2001 From: Yiğit Özdemir Date: Thu, 22 Jun 2023 18:28:32 +0300 Subject: Add FetchSize command - apply the changes discussed at #water-cooler --- core/src/window.rs | 4 +--- core/src/window/fetch_size.rs | 8 -------- 2 files changed, 1 insertion(+), 11 deletions(-) delete mode 100644 core/src/window/fetch_size.rs (limited to 'core/src') diff --git a/core/src/window.rs b/core/src/window.rs index cd343893..4beebf9f 100644 --- a/core/src/window.rs +++ b/core/src/window.rs @@ -6,12 +6,10 @@ mod level; mod mode; mod redraw_request; mod user_attention; -mod fetch_size; pub use event::Event; pub use icon::Icon; pub use level::Level; pub use mode::Mode; pub use redraw_request::RedrawRequest; -pub use user_attention::UserAttention; -pub use fetch_size::SizeType; \ No newline at end of file +pub use user_attention::UserAttention; \ No newline at end of file diff --git a/core/src/window/fetch_size.rs b/core/src/window/fetch_size.rs deleted file mode 100644 index aa3431aa..00000000 --- a/core/src/window/fetch_size.rs +++ /dev/null @@ -1,8 +0,0 @@ -/// A `struct` defining which size to fetch. -#[derive(Debug, Clone, Copy)] -pub enum SizeType { - /// Inner size. (not including title bars and so other OS decorations) - Inner, - /// Outer size. (including everything) - Outer, -} \ No newline at end of file -- cgit