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 58B79C4167B for ; Wed, 13 Dec 2023 17:23:17 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rDSwc-0007E4-58; Wed, 13 Dec 2023 12:22:50 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rDSwa-00077F-6e for qemu-devel@nongnu.org; Wed, 13 Dec 2023 12:22:48 -0500 Received: from zero.eik.bme.hu ([2001:738:2001:2001::2001]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rDSwX-0001AI-N7 for qemu-devel@nongnu.org; Wed, 13 Dec 2023 12:22:47 -0500 Received: from zero.eik.bme.hu (localhost [127.0.0.1]) by zero.eik.bme.hu (Postfix) with ESMTP id 6421F75A4D7; Wed, 13 Dec 2023 18:22:41 +0100 (CET) X-Virus-Scanned: amavisd-new at eik.bme.hu Received: from zero.eik.bme.hu ([127.0.0.1]) by zero.eik.bme.hu (zero.eik.bme.hu [127.0.0.1]) (amavisd-new, port 10028) with ESMTP id O8zguMu_0NcT; Wed, 13 Dec 2023 18:22:39 +0100 (CET) Received: by zero.eik.bme.hu (Postfix, from userid 432) id 31C8C75A4C2; Wed, 13 Dec 2023 18:22:39 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by zero.eik.bme.hu (Postfix) with ESMTP id 2FC1F75A4BC; Wed, 13 Dec 2023 18:22:39 +0100 (CET) Date: Wed, 13 Dec 2023 18:22:39 +0100 (CET) From: BALATON Zoltan To: Akihiko Odaki cc: Rene Engel , peter.maydell@linaro.org, philmd@linaro.org, kraxel@redhat.com, marcandre.lureau@redhat.com, qemu-devel@nongnu.org Subject: Re: [PATCH v6] ui/cocoa: Use NSWindow's ability to resize In-Reply-To: Message-ID: References: <20231211-cocoa-v6-1-49f3be0191f2@daynix.com> <5fcbed94a573a1b3bc9968ef9f72b496@mail.emailn.de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="3866299591-1181701199-1702488159=:24141" Received-SPF: pass client-ip=2001:738:2001:2001::2001; envelope-from=balaton@eik.bme.hu; helo=zero.eik.bme.hu X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-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-bounces+qemu-devel=archiver.kernel.org@nongnu.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --3866299591-1181701199-1702488159=:24141 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT On Wed, 13 Dec 2023, Akihiko Odaki wrote: > On 2023/12/13 0:38, Rene Engel wrote: >> >> --- Ursprüngliche Nachricht --- >> Von: Akihiko Odaki >> Datum: 11.12.2023 06:39:35 >> An: Peter Maydell , Philippe Mathieu-Daudé >> , Gerd Hoffmann , Marc-André Lureau >> >> Betreff: [PATCH v6] ui/cocoa: Use NSWindow's ability to resize >> >> Tested-by: > > Thanks for testing. > >> >> This patch works very well on MacOs Sonoma with the Qemu Cocoa output. >> Thanks >> >> Since you are dealing with the Cocoa output under MacOs, I have a request >> for you. Is it possible to use the Cocoa output with zoom to fit in full >> screen mode like it is possible with the GTK output with "-display >> gtk,zoom-to-fit=on -full-screen"? > >> I mainly start Qemu using a start script that immediately puts Qemu into >> full screen. > > > It should be possible, at least with this patch. Recently, Carwyn Ellis added > the support for the command line option (commit 5ec0898b0579 ("ui/cocoa: add > zoom-to-fit display option")) so your script can utilize it. Looks like commit 5ec0898b0579 missed to update documentation so this option does not show up in https://www.qemu.org/docs/master/system/invocation.html#hxtool-3 Should this be added to qemu-options.hx? By the way is there a way to get those options from the command line? I've tried this but got an error: $ qemu-system-ppc -display sdl,help qemu-system-ppc: -display sdl,help: Help is not available for this option Regards, BALATON Zoltan --3866299591-1181701199-1702488159=:24141--