screencopy: Pop first screencopy instead of last

This was never found probably because no client submits multiple frames
at once.
This commit is contained in:
Ivan Molodetskikh
2026-01-13 23:00:22 +03:00
parent 6f92b3296a
commit 2571242887
+1 -1
View File
@@ -61,7 +61,7 @@ impl ScreencopyQueue {
}
pub fn pop(&mut self) -> Screencopy {
self.screencopies.pop().unwrap()
self.screencopies.remove(0)
}
pub fn remove_output(&mut self, output: &Output) {