From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Van Ly via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#74496: 30.0.91; fullscreen frame set with F11 is shifted when ctwm restarts Date: Sat, 30 Nov 2024 18:21:20 +0000 Message-ID: References: Reply-To: Van Ly Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13125"; mail-complaints-to="usenet@ciao.gmane.io" Cc: eliz@gnu.org, 74496@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 30 19:22:11 2024 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 1tHS6d-0003HD-6Y for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 30 Nov 2024 19:22:11 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tHS6a-0002Ay-KT; Sat, 30 Nov 2024 13:22:09 -0500 Original-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 1tHS6Y-00029N-68 for bug-gnu-emacs@gnu.org; Sat, 30 Nov 2024 13:22:06 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tHS6U-0007Cy-49 for bug-gnu-emacs@gnu.org; Sat, 30 Nov 2024 13:22:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:In-Reply-To:From:To:References:Subject; bh=dPbAVjOM9trk1wumt/TXqnVPy+jP3zPb/aKLgNmQruY=; b=QSMkBPdJtGhQ8SUVwIT1U8o8tFTP9ccvzwmtmom3Fr5+UNwf06PFoRF39jPtYu7wzTBJJG+GY3FgX7srqMo/11z6oVdFXWNJ0dDm4SuWs8nH8m+kU82PEXzsp7bTz9UHCcMl+2mYiEc/at/8ZbdG0PI/N/Vk/9aYEu0Y3zluN3VtE/q1E/KAatFggd35TAltQusvikdSEu7xLGsTkjSr7CmYtp0tPxM+i618F+++BXBcOP4RaVHIZXjO4ZqyoZDfLDo8AZ9SgGq+DzvrBYnesh3qYuw7Ig9J3NdvBeEoCTjaOjjMNETxIVKvmOC7RbCo5LFoARd5fLP7hnqc9yKuXQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tHS6T-0000dz-VB for bug-gnu-emacs@gnu.org; Sat, 30 Nov 2024 13:22:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Van Ly Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 30 Nov 2024 18:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74496 X-GNU-PR-Package: emacs Original-Received: via spool by 74496-submit@debbugs.gnu.org id=B74496.17329908862415 (code B ref 74496); Sat, 30 Nov 2024 18:22:01 +0000 Original-Received: (at 74496) by debbugs.gnu.org; 30 Nov 2024 18:21:26 +0000 Original-Received: from localhost ([127.0.0.1]:48978 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHS5t-0000ct-HY for submit@debbugs.gnu.org; Sat, 30 Nov 2024 13:21:25 -0500 Original-Received: from mx.sdf.org ([205.166.94.24]:62837) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHS5r-0000cj-57 for 74496@debbugs.gnu.org; Sat, 30 Nov 2024 13:21:23 -0500 Original-Received: from sdf.org (iceland.freeshell.org [205.166.94.5]) by mx.sdf.org (8.18.1/8.14.3) with ESMTPS id 4AUILL2q024405 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Sat, 30 Nov 2024 18:21:21 GMT Original-Received: (from van.ly@localhost) by sdf.org (8.18.1/8.12.8/Submit) id 4AUILKj2024121; Sat, 30 Nov 2024 18:21:20 GMT In-Reply-To: (message from martin rudalics on Sat, 30 Nov 2024 17:53:05 +0100) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:296192 Archived-At: > > What does (frame-geometry) evaluate to before and after restarting CTWM? > What does (frame-parameter nil 'fullscreen) evaluate to before and after > restarting CTWM? Does a maximized frame change too? > Having the ctwm maximized zoom frame lets both kinds of full frames persist across ctwm restart. Then, only having full frames be of the F11 fullscreen type lets the fullscreen persist across ctwm restart. The result on Line 27 below seems to be key. Thanks. 1 ;; A. F11 fullscreen before 2 (frame-geometry) 3 ((outer-position -3 . -3) (outer-size 1920 . 1080) (external-border-size -3 . -3) (outer-border-width . 0) (title-bar-size 0 . 6) (menu-bar-external . t) (menu-bar-size 0 . 0) (tab-bar-size 1918 . 14) (tool-bar-external) (tool-bar-position . top) (tool-bar-size 0 . 0) (internal-border-width . 1)) 4 5 ;; Z. F11 fullscreen after 6 (frame-geometry) 7 ((outer-position -3 . -3) (outer-size 1920 . 1080) (external-border-size -3 . -3) (outer-border-width . 0) (title-bar-size 0 . 6) (menu-bar-external . t) (menu-bar-size 0 . 0) (tab-bar-size 1918 . 14) (tool-bar-external) (tool-bar-position . top) (tool-bar-size 0 . 0) (internal-border-width . 1)) 8 9 10 ;; A. F11 fullscreen before 11 (frame-parameter nil 'fullscreen) ; => fullboth 12 13 14 ;; Z. F11 fullscreen after 15 (frame-parameter nil 'fullscreen) ; => nil 16 17 18 ;; A. ctwm max zoom before 19 (frame-geometry) 20 ((outer-position 0 . 0) (outer-size 1914 . 1074) (external-border-size -3 . -3) (outer-border-width . 0) (title-bar-size 0 . 6) (menu-bar-external . t) (menu-bar-size 0 . 0) (tab-bar-size 1912 . 14) (tool-bar-external) (tool-bar-position . top) (tool-bar-size 0 . 0) (internal-border-width . 1)) 21 22 ;; Z. ctwm max zoom after 23 (frame-geometry) 24 ((outer-position 0 . 0) (outer-size 1914 . 1074) (external-border-size -3 . -3) (outer-border-width . 0) (title-bar-size 0 . 6) (menu-bar-external . t) (menu-bar-size 0 . 0) (tab-bar-size 1912 . 14) (tool-bar-external) (tool-bar-position . top) (tool-bar-size 0 . 0) (internal-border-width . 1)) 25 26 ;; A. ctwm max zoom before =>27 (frame-parameter nil 'fullscreen) ; => maximized 28 29 ;; Z. ctwm max zoom after 30 (frame-parameter nil 'fullscreen) ; => nil -- vl