Windows: Fix alt tab bordless fullscreen (#1740)
This commit is contained in:
parent
ee3996cac6
commit
7c543a43a9
3 changed files with 19 additions and 6 deletions
|
|
@ -489,7 +489,14 @@ impl Window {
|
|||
|
||||
// Update window style
|
||||
WindowState::set_window_flags(window_state_lock, window.0, |f| {
|
||||
f.set(WindowFlags::MARKER_FULLSCREEN, fullscreen.is_some())
|
||||
f.set(
|
||||
WindowFlags::MARKER_EXCLUSIVE_FULLSCREEN,
|
||||
matches!(fullscreen, Some(Fullscreen::Exclusive(_))),
|
||||
);
|
||||
f.set(
|
||||
WindowFlags::MARKER_BORDERLESS_FULLSCREEN,
|
||||
matches!(fullscreen, Some(Fullscreen::Borderless(_))),
|
||||
);
|
||||
});
|
||||
|
||||
// Update window bounds
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue