From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Augusto Stoffel Newsgroups: gmane.emacs.bugs Subject: bug#53793: 29.0.50; 'fullscreen' frame parameter on pgtk Date: Sun, 06 Feb 2022 11:02:19 +0100 Message-ID: <871r0gia8k.fsf@gmail.com> References: <87a6f5bssv.fsf@gmail.com> <87mtj4reru.fsf@yahoo.com> <875ypspe4n.fsf@gmail.com> <87czk0pc6x.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30356"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: 53793-done@debbugs.gnu.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 06 11:30:48 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nGeoi-0007kK-0Q for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 06 Feb 2022 11:30:48 +0100 Original-Received: from localhost ([::1]:53560 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nGeog-0003j9-Ls for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 06 Feb 2022 05:30:46 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:47806) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGeNq-0005dJ-R4 for bug-gnu-emacs@gnu.org; Sun, 06 Feb 2022 05:03:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42607) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nGeNq-0006vE-Hy for bug-gnu-emacs@gnu.org; Sun, 06 Feb 2022 05:03:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nGeNq-0005t5-Eb for bug-gnu-emacs@gnu.org; Sun, 06 Feb 2022 05:03:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Augusto Stoffel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 Feb 2022 10:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53793 X-GNU-PR-Package: emacs Original-Received: via spool by 53793-done@debbugs.gnu.org id=D53793.164414174922570 (code D ref 53793); Sun, 06 Feb 2022 10:03:02 +0000 Original-Received: (at 53793-done) by debbugs.gnu.org; 6 Feb 2022 10:02:29 +0000 Original-Received: from localhost ([127.0.0.1]:36501 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGeNJ-0005ry-4L for submit@debbugs.gnu.org; Sun, 06 Feb 2022 05:02:29 -0500 Original-Received: from mail-ej1-f46.google.com ([209.85.218.46]:45910) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGeNH-0005rj-NW for 53793-done@debbugs.gnu.org; Sun, 06 Feb 2022 05:02:28 -0500 Original-Received: by mail-ej1-f46.google.com with SMTP id s21so5337757ejx.12 for <53793-done@debbugs.gnu.org>; Sun, 06 Feb 2022 02:02:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=XMpgfinf8UYKCWerksi021eYXN6Qx0wPtoY8oK6BeUY=; b=CfMsXkUFuKjtiIUXdyRZv882OBwCmQpmeraP0dxEVlShKy7ZTNyY5E4tvd29LnptjV PlPUiOWz7Ey0au1kEYp2MW0kaHwecVUhB0tWx44KYEzTP3ToshWmLZzCcydBipymU8el byqxjb261RoolDXkbE2BQQReed15Aq2v12EQUdET059OSjcfGqwxKZoo0U/J6y46/kqM iWnKiJcNFcUqtKBTrPxchA78LDNU/h85AxqPTvc8jL6qEPJgCXf1B9tWH1S+wMNtd/qi jWAOqSjeK5sWpZaU9Fnrv6UO49XRdElkSXtnI3rH7neFMFkdkqAod1LY0ReQWi6sLje8 Fasg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=XMpgfinf8UYKCWerksi021eYXN6Qx0wPtoY8oK6BeUY=; b=ewx5PL5pd4z91p/T/NDH1HBoXiN+bNgYcJVR7rOOdr5sX+YyEUVlpda5S42BegEs9q BQGV+0lAXXBPIwQM9vEwkio3J2RMI1C7+yDjJfOAdkHXfYTnDLgI2d7igVptQzIJ5SKx OAQNVQHqm4PeiNtg4X/J2YpJIfxm1MqtDy8fI6lJwg7nlF60zL0k7h0AcuZwmFamhb1i /ZQUYIsZBf30NS/8WOYOTKhjVL9UCwiz3ipIpoF+0HpmvbFNk/phprCYsoIQgKBPiAdL RVGh2eGry2CtmGICiLyiL0qeMWsymz7NLef8dFgChuYuso+4CtKZ3UCshdtAQYoV0VZa MntA== X-Gm-Message-State: AOAM532iueoHI0K1POIjYOxSXimK+CfarU4p3ehfUw7ZBR7QuJpMe2Zw kJDsGjQJ1OSW2S9OxGCSiEC5eTYDTG4= X-Google-Smtp-Source: ABdhPJzTHa2+Yl4oF5jhkd/OZq8B7Mjwzy55pqpJ8t1hau6IzY45NjWTJQa0agYE3XBE7zbNbxjBTw== X-Received: by 2002:a17:907:86a2:: with SMTP id qa34mr5761285ejc.674.1644141741462; Sun, 06 Feb 2022 02:02:21 -0800 (PST) Original-Received: from ars3 ([2a02:8109:8ac0:56d0::a4e1]) by smtp.gmail.com with ESMTPSA id a13sm585038edx.11.2022.02.06.02.02.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 06 Feb 2022 02:02:20 -0800 (PST) In-Reply-To: <87czk0pc6x.fsf@yahoo.com> (Po Lu's message of "Sun, 06 Feb 2022 17:38:14 +0800") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:226146 Archived-At: On Sun, 6 Feb 2022 at 17:38, Po Lu wrote: > (When replying to bug reports in the future, please use "Reply to All", > so that your messages can be recorded by the bug tracker.) Oops, sorry. > Augusto Stoffel writes: > >> Yes, the frame parameter is correctly reported now, thanks! > > I'm closing this bug then, thanks. > >> It also seems that `move-frame-functions' are not run as promised. Or >> at least the following bit of configuration is still broken on pgtk but >> works fine on X. > > If you're running Wayland, then it's a limitation of the Wayland > protocol, which has no global coordinate system. GTK exposes it as > every Wayland window (surface) being placed at 0, 0. I see. Apparently there's no hook to run when a frame is resized, which would be useful as well. Maybe a new variable is unnecessary, and `move-frame-functions' should be run also when moving the bottom right corner of the frame. >> (add-hook 'move-frame-functions >> (lambda (frame) "Undecorate frame when maximized." >> (set-frame-parameter frame 'undecorated >> (eq 'maximized (frame-parameter frame 'fullscreen)))))