qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 7/7] ui: Add an opaque pointer to the DisplayChangeL


From: John Baboval
Subject: [Qemu-devel] [PATCH 7/7] ui: Add an opaque pointer to the DisplayChangeListener
Date: Thu, 19 Dec 2013 13:40:17 -0500

From: "John V. Baboval" <address@hidden>

The pointer is a place for the UI to hang a structure off of. In the multi-head
case, the UI can use this pointer to distinguish which QemuConsole a dpy_* call
was made for.


Signed-off-by: John V. Baboval <address@hidden>
---
 include/ui/console.h |    1 +
 1 file changed, 1 insertion(+)

diff --git a/include/ui/console.h b/include/ui/console.h
index 7efa119..271f577 100644
--- a/include/ui/console.h
+++ b/include/ui/console.h
@@ -191,6 +191,7 @@ struct DisplayChangeListener {
     const DisplayChangeListenerOps *ops;
     DisplayState *ds;
     QemuConsole *con;
+    void *ui;
 
     QLIST_ENTRY(DisplayChangeListener) next;
 };
-- 
1.7.9.5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]