fix Wayland layer-shell protocol violation: "must ack the initial configure before attaching buffer"

This commit is contained in:
Frederic Laing 2025-11-18 12:03:09 +01:00 committed by Ashley Wulber
parent 9b636e281b
commit 1fb7e08f23
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820
2 changed files with 9 additions and 6 deletions

View file

@ -1054,7 +1054,6 @@ impl SctkState {
if let Ok((id, surface, common)) = self.get_layer_surface(builder) {
// TODO Ashley: all surfaces should probably have an optional title for a11y if nothing else
let wl_surface = surface.wl_surface().clone();
receive_frame(&mut self.frame_status, &wl_surface);
send_event(&self.events_sender, &self.proxy,
SctkEvent::LayerSurfaceEvent {
variant: LayerSurfaceEventVariant::Created(self.queue_handle.clone(), surface, id, common, self.connection.display(), title),