diff --git a/src/wayland/buffer.rs b/src/wayland/buffer.rs index 0c8bf86..06abbfc 100644 --- a/src/wayland/buffer.rs +++ b/src/wayland/buffer.rs @@ -98,7 +98,7 @@ impl WaylandBuffer { width, height, width * 4, - wl_shm::Format::Xrgb8888, + wl_shm::Format::Argb8888, qh, released.clone(), ); @@ -138,7 +138,7 @@ impl WaylandBuffer { width, height, width * 4, - wl_shm::Format::Xrgb8888, + wl_shm::Format::Argb8888, &self.qh, self.released.clone(), );