mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
spice-core: fix watching for write events
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
committed by
Gerd Hoffmann
parent
7d72e76228
commit
3d6d306c10
+1
-1
@@ -95,7 +95,7 @@ static void watch_update_mask(SpiceWatch *watch, int event_mask)
|
||||
on_read = watch_read;
|
||||
}
|
||||
if (watch->event_mask & SPICE_WATCH_EVENT_WRITE) {
|
||||
on_read = watch_write;
|
||||
on_write = watch_write;
|
||||
}
|
||||
qemu_set_fd_handler(watch->fd, on_read, on_write, watch);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user