Windows: apply skip taskbar state when taskbar is restarted (#2380)

This commit is contained in:
Amr Bashir 2022-07-22 19:33:22 +02:00 committed by GitHub
parent 1ec976f95e
commit 1cd0e94c26
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 50 additions and 33 deletions

View file

@ -49,6 +49,8 @@ pub struct WindowState {
// Used by WM_NCACTIVATE, WM_SETFOCUS and WM_KILLFOCUS
pub is_active: bool,
pub is_focused: bool,
pub skip_taskbar: bool,
}
#[derive(Clone)]
@ -152,6 +154,8 @@ impl WindowState {
is_active: false,
is_focused: false,
skip_taskbar: false,
}
}