Fix 100s freeze on boot on X11 (#13156)
Release Notes: - Fixed switching between dark and light mode with no windows open.
This commit is contained in:
parent
7fe5c27597
commit
eecbf203dc
5 changed files with 23 additions and 62 deletions
|
@ -1158,7 +1158,7 @@ impl<'a> WindowContext<'a> {
|
|||
self.window.platform_window.is_fullscreen()
|
||||
}
|
||||
|
||||
fn appearance_changed(&mut self) {
|
||||
pub(crate) fn appearance_changed(&mut self) {
|
||||
self.window.appearance = self.window.platform_window.appearance();
|
||||
|
||||
self.window
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue