From 9703609f5ba056e9316c920a00773d6cd8b13b8e Mon Sep 17 00:00:00 2001 From: Chooooooo Date: Fri, 27 Sep 2024 03:50:18 +0900 Subject: [PATCH] chore:code format linting --- src/platform_impl/linux/event_loop.rs | 3 +-- src/platform_impl/linux/window.rs | 5 +---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/platform_impl/linux/event_loop.rs b/src/platform_impl/linux/event_loop.rs index 3e3b5f52c..d5ce7e21b 100644 --- a/src/platform_impl/linux/event_loop.rs +++ b/src/platform_impl/linux/event_loop.rs @@ -295,8 +295,7 @@ impl EventLoop { } WindowRequest::Maximized(maximized, resizable) => { if maximized { - let maximize_process = - util::WindowMaximizeProcess::new(window.clone(), resizable); + let maximize_process = util::WindowMaximizeProcess::new(window.clone(), resizable); glib::idle_add_local_full(glib::Priority::DEFAULT_IDLE, move || { let mut maximize_process = maximize_process.borrow_mut(); maximize_process.next_step() diff --git a/src/platform_impl/linux/window.rs b/src/platform_impl/linux/window.rs index 8813051cf..5d988e93a 100644 --- a/src/platform_impl/linux/window.rs +++ b/src/platform_impl/linux/window.rs @@ -110,10 +110,7 @@ impl Window { window.resize(width, height); if attributes.maximized { - let maximize_process = util::WindowMaximizeProcess::new( - window.clone(), - attributes.resizable, - ); + let maximize_process = util::WindowMaximizeProcess::new(window.clone(), attributes.resizable); glib::idle_add_local_full(glib::Priority::HIGH_IDLE, move || { let mut maximize_process = maximize_process.borrow_mut(); maximize_process.next_step()