mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-21 02:01:55 +07:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user