Re: [PATCH v3] display/gtk: get proper refreshrate

2020-01-06 Thread Gerd Hoffmann
Hi, > { > bool zoom_to_fit = false; > > +int refresh_rate_millihz = 0; Please drop the blank line between the variable declarations. Also there is no need to zero-initialize the variable ... > +refresh_rate_millihz = gdk_monitor_get_refresh_rate(monitor); ... as it is set unco

[PATCH v3] display/gtk: get proper refreshrate

2019-12-31 Thread Nikola Pavlica
>From 2d85b4a0edba0bf3fa3c221dcbde7e82a6a771fa Mon Sep 17 00:00:00 2001 From: Nikola Pavlica Date: Tue, 31 Dec 2019 18:16:28 +0100 Subject: [PATCH v3] display/gtk: get proper refreshrate Hi, QEMU mailing list. This is the third revision of the patch involving the GTK display output getting