Re: [PATCH v3] ui/cocoa: Take refresh rate into account

2022-07-01 Thread Peter Maydell
On Fri, 1 Jul 2022 at 11:11, Gerd Hoffmann wrote: > > On Tue, Jun 21, 2022 at 09:51:38AM +0100, Peter Maydell wrote: > > On Mon, 20 Jun 2022 at 21:29, Akihiko Odaki wrote: > > > > > > Retreieve the refresh rate of the display and reflect it with > > > dpy_set_ui_info() and

Re: [PATCH v3] ui/cocoa: Take refresh rate into account

2022-07-01 Thread Gerd Hoffmann
On Tue, Jun 21, 2022 at 09:51:38AM +0100, Peter Maydell wrote: > On Mon, 20 Jun 2022 at 21:29, Akihiko Odaki wrote: > > > > Retreieve the refresh rate of the display and reflect it with > > dpy_set_ui_info() and update_displaychangelistener(), allowing the > > guest and DisplayChangeListener to

Re: [PATCH v3] ui/cocoa: Take refresh rate into account

2022-06-21 Thread Akihiko Odaki
On 2022/06/21 17:51, Peter Maydell wrote: On Mon, 20 Jun 2022 at 21:29, Akihiko Odaki wrote: Retreieve the refresh rate of the display and reflect it with dpy_set_ui_info() and update_displaychangelistener(), allowing the guest and DisplayChangeListener to consume the information. But why?

Re: [PATCH v3] ui/cocoa: Take refresh rate into account

2022-06-21 Thread Peter Maydell
On Mon, 20 Jun 2022 at 21:29, Akihiko Odaki wrote: > > Retreieve the refresh rate of the display and reflect it with > dpy_set_ui_info() and update_displaychangelistener(), allowing the > guest and DisplayChangeListener to consume the information. But why? What goes wrong if we don't bother to

[PATCH v3] ui/cocoa: Take refresh rate into account

2022-06-20 Thread Akihiko Odaki
Retreieve the refresh rate of the display and reflect it with dpy_set_ui_info() and update_displaychangelistener(), allowing the guest and DisplayChangeListener to consume the information. Signed-off-by: Akihiko Odaki --- meson.build | 3 ++- ui/cocoa.m | 12 2 files changed, 14