parent
d4d049d7b9
commit
44941b5dfe
11 changed files with 16 additions and 15 deletions
|
@ -528,7 +528,7 @@ impl WaylandClient {
|
|||
|
||||
client.common.appearance = appearance;
|
||||
|
||||
for (_, window) in &mut client.windows {
|
||||
for window in client.windows.values_mut() {
|
||||
window.set_appearance(appearance);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -456,7 +456,7 @@ impl X11Client {
|
|||
move |event, _, client| match event {
|
||||
XDPEvent::WindowAppearance(appearance) => {
|
||||
client.with_common(|common| common.appearance = appearance);
|
||||
for (_, window) in &mut client.0.borrow_mut().windows {
|
||||
for window in client.0.borrow_mut().windows.values_mut() {
|
||||
window.window.set_appearance(appearance);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue