chore: fix clippy lints

This commit is contained in:
Kirill Chibisov 2025-02-20 20:21:07 +03:00
parent d7d20507ed
commit 05d8fa0b91
3 changed files with 4 additions and 4 deletions

View file

@ -1341,7 +1341,7 @@ unsafe fn init(
// This is because if the size is changed in WM_CREATE, the restored size will be stored in that
// size.
if fullscreen.is_some() {
win.set_fullscreen(fullscreen.map(Into::into));
win.set_fullscreen(fullscreen);
unsafe { force_window_active(win.window) };
} else if maximized {
win.set_maximized(true);