aboutsummaryrefslogtreecommitdiff
path: root/src/exit_confirm_dialog.rs
diff options
context:
space:
mode:
authorChristian Meissl <meissl.christian@gmail.com>2024-01-24 20:58:58 +0100
committerIvan Molodetskikh <yalterz@gmail.com>2024-01-25 07:49:51 +0400
commit20326b093c57bed7a3e423a16c202a69d3ad8c09 (patch)
tree04f04c8beb03b0a36f083960072c5611ab52f296 /src/exit_confirm_dialog.rs
parent467d92a4b448b4cb28a18e0d468c48984869c0b7 (diff)
downloadniri-20326b093c57bed7a3e423a16c202a69d3ad8c09.tar.gz
niri-20326b093c57bed7a3e423a16c202a69d3ad8c09.tar.bz2
niri-20326b093c57bed7a3e423a16c202a69d3ad8c09.zip
Update smithay
Diffstat (limited to 'src/exit_confirm_dialog.rs')
-rw-r--r--src/exit_confirm_dialog.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exit_confirm_dialog.rs b/src/exit_confirm_dialog.rs
index d3464e04..fd9a24af 100644
--- a/src/exit_confirm_dialog.rs
+++ b/src/exit_confirm_dialog.rs
@@ -149,7 +149,7 @@ fn render(scale: i32) -> anyhow::Result<MemoryRenderBuffer> {
drop(cr);
let data = surface.take_data().unwrap();
- let buffer = MemoryRenderBuffer::from_memory(
+ let buffer = MemoryRenderBuffer::from_slice(
&data,
Fourcc::Argb8888,
(width, height),