spice-display.c (a3e2226031496f479b5fe4a069ec1acd68a17e8d) | spice-display.c (869564a9c0f78b1972e1ac51e69cb2016af3b060) |
---|---|
1/* 2 * Copyright (C) 2010 Red Hat, Inc. 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU General Public License as 6 * published by the Free Software Foundation; either version 2 or 7 * (at your option) version 3 of the License. 8 * --- 166 unchanged lines hidden (view full) --- 175 176 dprint(1, "%s: %dx%d\n", __FUNCTION__, 177 ds_get_width(ssd->ds), ds_get_height(ssd->ds)); 178 179 surface.format = SPICE_SURFACE_FMT_32_xRGB; 180 surface.width = ds_get_width(ssd->ds); 181 surface.height = ds_get_height(ssd->ds); 182 surface.stride = -surface.width * 4; | 1/* 2 * Copyright (C) 2010 Red Hat, Inc. 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU General Public License as 6 * published by the Free Software Foundation; either version 2 or 7 * (at your option) version 3 of the License. 8 * --- 166 unchanged lines hidden (view full) --- 175 176 dprint(1, "%s: %dx%d\n", __FUNCTION__, 177 ds_get_width(ssd->ds), ds_get_height(ssd->ds)); 178 179 surface.format = SPICE_SURFACE_FMT_32_xRGB; 180 surface.width = ds_get_width(ssd->ds); 181 surface.height = ds_get_height(ssd->ds); 182 surface.stride = -surface.width * 4; |
183 surface.mouse_mode = 0; | 183 surface.mouse_mode = true; |
184 surface.flags = 0; 185 surface.type = 0; 186 surface.mem = (intptr_t)ssd->buf; 187 surface.group_id = MEMSLOT_GROUP_HOST; 188 ssd->worker->create_primary_surface(ssd->worker, 0, &surface); 189} 190 191void qemu_spice_destroy_host_primary(SimpleSpiceDisplay *ssd) --- 221 unchanged lines hidden --- | 184 surface.flags = 0; 185 surface.type = 0; 186 surface.mem = (intptr_t)ssd->buf; 187 surface.group_id = MEMSLOT_GROUP_HOST; 188 ssd->worker->create_primary_surface(ssd->worker, 0, &surface); 189} 190 191void qemu_spice_destroy_host_primary(SimpleSpiceDisplay *ssd) --- 221 unchanged lines hidden --- |