Commit 7ed9eba3848b99cc6adba520fe5dcdfbe32d657e
1 parent
62a6e3e1
move GUI_REFRESH_INTERVAL define from vl.c to console.h (Gerd Hoffmann)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5058 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
2 changed files
with
3 additions
and
2 deletions
console.h
... | ... | @@ -9,6 +9,9 @@ |
9 | 9 | #define MOUSE_EVENT_RBUTTON 0x02 |
10 | 10 | #define MOUSE_EVENT_MBUTTON 0x04 |
11 | 11 | |
12 | +/* in ms */ | |
13 | +#define GUI_REFRESH_INTERVAL 30 | |
14 | + | |
12 | 15 | typedef void QEMUPutKBDEvent(void *opaque, int keycode); |
13 | 16 | typedef void QEMUPutMouseEvent(void *opaque, int dx, int dy, int dz, int buttons_state); |
14 | 17 | ... | ... |
vl.c
... | ... | @@ -154,8 +154,6 @@ int inet_aton(const char *cp, struct in_addr *ia); |
154 | 154 | #else |
155 | 155 | #define DEFAULT_RAM_SIZE 128 |
156 | 156 | #endif |
157 | -/* in ms */ | |
158 | -#define GUI_REFRESH_INTERVAL 30 | |
159 | 157 | |
160 | 158 | /* Max number of USB devices that can be specified on the commandline. */ |
161 | 159 | #define MAX_USB_CMDLINE 8 | ... | ... |