From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6410DC43334 for ; Tue, 21 Jun 2022 08:54:35 +0000 (UTC) Received: from localhost ([::1]:36758 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o3Zec-0001rM-0w for qemu-devel@archiver.kernel.org; Tue, 21 Jun 2022 04:54:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33732) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3Zc3-0006er-CW for qemu-devel@nongnu.org; Tue, 21 Jun 2022 04:51:55 -0400 Received: from mail-yw1-x1130.google.com ([2607:f8b0:4864:20::1130]:36363) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o3Zbx-000887-Ha for qemu-devel@nongnu.org; Tue, 21 Jun 2022 04:51:54 -0400 Received: by mail-yw1-x1130.google.com with SMTP id 00721157ae682-3176d94c236so123798557b3.3 for ; Tue, 21 Jun 2022 01:51:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=XsKSp1PBySNdkjvrcr0wzV81nO/dZzxKNhtu1ElnFFM=; b=oynQV4QcOnxJFgP7Q7mswt6uWz3/HCakEWKN1WSLQlAQWZPvKMuPHw6SdvzYLxM82Y Tg/tsKRkvIN6/v2Hknhyn/Z3Hzy4mAWUHF9jRQfQFbmDhuMgqc5bzs7ZYFX48GZPXSvD QKcO+ZdszNnK/pWfn/Y+yhXQWQrJtE2K2Pc+AkoLNACQ2fsz+QYp3Sp+3ginFmOY3s1Q qXnXoOFrOltSA4znlCTatw0AN/l/VyaFVMeOIfGcn4LSoy+GzKjFEOLgm0Zry2Km3O7U 9WTONIc666dm0j2lvWefY5mxdzB0KAZDRsPpjoAhwVCorIC9IkD/njdONneWHk9S+sMU C8OQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=XsKSp1PBySNdkjvrcr0wzV81nO/dZzxKNhtu1ElnFFM=; b=6zzxCaOIEuF+CatDSoseMJuBckE9LAmEYxtkw1y+t49Zk6O55T1UbO6fWTn6WFy188 UzST1piMjFmXwLnvcsRwXv4+h1RJr3f3pXJT8ucuGR10paM9YqOoPiiilc0sCp0qrgbE pTGDhf2maLZYAoma4YtQT/7dKyh9Gfp/LOjIonXQGuWGUfwuzmR4gEQaNnCMsXxLhuey 1kBml8G7LlcCXtwZ7jxM9/+wK/a5RH31C5xo+J2bAtQ76rIwasNtTouNAO8rbyexCnby juqaD842sfCxLG2nKqz4vGJqppVf0y5I71d/5fv3/ql5CC4D9kXE0CovUm6CgEKCyQa0 pTcw== X-Gm-Message-State: AJIora/nMGCb8y3OTNeafZqfkqv/lYlqZZeet2zuHure0KVltDlCvmrE bg2R++c8xQBPCCS9iH2WGWdx+wqdh7zrBsb0amMsdw== X-Google-Smtp-Source: AGRyM1vQZkma9AvDT6fJbXdooK1KlAow51d89s9ahJz69UyUF6Sr2j4N87PWmUs6PRq7frSE2CZN294nhuJd7SUlZAs= X-Received: by 2002:a81:8d08:0:b0:317:a4cd:d65d with SMTP id d8-20020a818d08000000b00317a4cdd65dmr16248558ywg.329.1655801508690; Tue, 21 Jun 2022 01:51:48 -0700 (PDT) MIME-Version: 1.0 References: <20220620202921.21062-1-akihiko.odaki@gmail.com> In-Reply-To: <20220620202921.21062-1-akihiko.odaki@gmail.com> From: Peter Maydell Date: Tue, 21 Jun 2022 09:51:38 +0100 Message-ID: Subject: Re: [PATCH v3] ui/cocoa: Take refresh rate into account To: Akihiko Odaki Cc: =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= , Gerd Hoffmann , qemu-devel@nongnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::1130; envelope-from=peter.maydell@linaro.org; helo=mail-yw1-x1130.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" 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 do this? thanks -- PMM