diff options
author | hyokeun <hyokeun.jeon@samsung.com> | 2016-12-27 17:29:09 +0900 |
---|---|---|
committer | hyokeun <hyokeun.jeon@samsung.com> | 2016-12-27 17:29:09 +0900 |
commit | 2a84d37c88d606fda46a565bcc80e173b4d0a80a (patch) | |
tree | 8b755bb78271e76e13fb7db38b670dbc443479e7 /ui/console.c | |
parent | bd54c25035217800f3b1d39f6472d599cd602d5a (diff) | |
download | qemu-2a84d37c88d606fda46a565bcc80e173b4d0a80a.tar.gz qemu-2a84d37c88d606fda46a565bcc80e173b4d0a80a.tar.bz2 qemu-2a84d37c88d606fda46a565bcc80e173b4d0a80a.zip |
Imported Upstream version 2.6.1upstream/2.6.1upstream
Diffstat (limited to 'ui/console.c')
-rw-r--r-- | ui/console.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/ui/console.c b/ui/console.c index c24bfe422..bf385790b 100644 --- a/ui/console.c +++ b/ui/console.c @@ -1453,21 +1453,16 @@ bool dpy_ui_info_supported(QemuConsole *con) int dpy_set_ui_info(QemuConsole *con, QemuUIInfo *info) { assert(con != NULL); - + con->ui_info = *info; if (!dpy_ui_info_supported(con)) { return -1; } - if (memcmp(&con->ui_info, info, sizeof(con->ui_info)) == 0) { - /* nothing changed -- ignore */ - return 0; - } /* * Typically we get a flood of these as the user resizes the window. * Wait until the dust has settled (one second without updates), then * go notify the guest. */ - con->ui_info = *info; timer_mod(con->ui_timer, qemu_clock_get_ms(QEMU_CLOCK_REALTIME) + 1000); return 0; } @@ -1709,13 +1704,11 @@ QEMUGLContext dpy_gl_ctx_get_current(QemuConsole *con) void dpy_gl_scanout(QemuConsole *con, uint32_t backing_id, bool backing_y_0_top, - uint32_t backing_width, uint32_t backing_height, uint32_t x, uint32_t y, uint32_t width, uint32_t height) { assert(con->gl); con->gl->ops->dpy_gl_scanout(con->gl, backing_id, backing_y_0_top, - backing_width, backing_height, x, y, width, height); } |