mirror of
https://gitlab.com/marcandre.lureau/qemu-display.git
synced 2024-12-22 05:35:20 +00:00
rdp: update comments
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
parent
d328389ef7
commit
d6056111d9
@ -68,6 +68,7 @@ impl RdpServerDisplay for DisplayHandler {
|
||||
|
||||
fn request_layout(&mut self, layout: DisplayControlMonitorLayout) {
|
||||
let console = self.console.proxy.clone();
|
||||
// TODO: use a queue and a dedicated task/thread for requests, to preserve order
|
||||
thread::spawn(move || {
|
||||
// TODO: multi-monitor
|
||||
let Some(monitor) = layout.monitors().first() else {
|
||||
|
@ -117,7 +117,7 @@ fn push_update(queue: &mut MutexGuard<VecDeque<DisplayUpdate>>, item: DisplayUpd
|
||||
}
|
||||
}
|
||||
ColorPointer(_) | RGBAPointer(_) | HidePointer | DefaultPointer => {
|
||||
// If there is already a pointer position update in the queue, replace it with the new one
|
||||
// If there is already a pointer shape update in the queue, replace it with the new one
|
||||
if let Some(idx) = queue.iter().position(|update| {
|
||||
matches!(
|
||||
update,
|
||||
|
Loading…
Reference in New Issue
Block a user