diff --git a/src/app.rs b/src/app.rs index 5ae4a22..0b6183a 100644 --- a/src/app.rs +++ b/src/app.rs @@ -78,7 +78,9 @@ impl AppInner { ); shell_surface.quick_assign(move |layer, event, _| match event { zwlr_layer_surface_v1::Event::Configure { serial, .. } => { - if this_is_stupid.compare_exchange(false, true, Ordering::SeqCst, Ordering::SeqCst).is_ok() + if this_is_stupid + .compare_exchange(false, true, Ordering::SeqCst, Ordering::SeqCst) + .is_ok() { *(configured_surfaces.lock().unwrap()) += 1; layer.ack_configure(serial);