Hi, On 06/09/2014 01:40 PM, Alon Levy wrote: > Signed-off-by: Alon Levy <al...@redhat.com>
A better commit messages explaining the why, what and how of this patch would be nice. Regards, Hans > --- > src/qxl_kms.c | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/src/qxl_kms.c b/src/qxl_kms.c > index c31c62d..d952495 100644 > --- a/src/qxl_kms.c > +++ b/src/qxl_kms.c > @@ -164,8 +164,8 @@ Bool qxl_pre_init_kms(ScrnInfoPtr pScrn, int flags) > if (drmmode_pre_init(pScrn, &qxl->drmmode, pScrn->bitsPerPixel / 8) == > FALSE) > goto out; > > - qxl->virtual_x = 1024; > - qxl->virtual_y = 768; > + qxl->virtual_x = -1; > + qxl->virtual_y = -1; > > pScrn->display->virtualX = qxl->virtual_x; > pScrn->display->virtualY = qxl->virtual_y; > @@ -335,6 +335,9 @@ Bool qxl_screen_init_kms(SCREEN_INIT_ARGS_DECL) > if (!xf86CrtcScreenInit (pScreen)) > return FALSE; > > + qxl->virtual_x = pScrn->currentMode->HDisplay; > + qxl->virtual_y = pScrn->currentMode->VDisplay; > + > if (!qxl_resize_primary_to_virtual (qxl)) > return FALSE; > > _______________________________________________ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel