From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics 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: Thu, 12 Dec 2024 18:18:22 +0100 Message-ID: <10489a23-1f74-4f9a-9fd0-6609a043fcc3@gmx.at> References: Reply-To: martin rudalics Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33014"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: eliz@gnu.org, 74496@debbugs.gnu.org To: Van Ly Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 12 18:19:22 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 1tLmqQ-0008My-5U for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 12 Dec 2024 18:19:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tLmq9-0005th-UC; Thu, 12 Dec 2024 12:19:06 -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 1tLmq8-0005tE-3z for bug-gnu-emacs@gnu.org; Thu, 12 Dec 2024 12:19:04 -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 1tLmq7-0005cw-Rc for bug-gnu-emacs@gnu.org; Thu, 12 Dec 2024 12:19:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:From:References:MIME-Version:Date:To:Subject; bh=WYAI0j3QLcgdB18yCtz7rXo3u6MJTwZWzo2c5b7yWuI=; b=lJC17KWI0sxZ5dUUV3H30DpJHL7RB/eeM6YrsGfR5FSzgr8nj3ErxTbQhIK92CUiFhqls5BVgT3nvqe82Glmjqc/Y7KgT7Zsv7RD4HEMaZeWH65ubxBaj828NXSKacY8OOWdUKIfg1HGe2INgM++zngTxEGiOiHlc94NLxeKp8S7AWb0y9AGr+sbm9W+WGO567e9cXG+i1AsOkgQbTuoRkvGDeaqGw+Nii+emjQxOTyifAQFQDh1bIbkif23HHDq4iN8q6213CZzVaER2LCMvXMfwRznoCDdJYsOtWWmXtvTgLwhQS/iVE+t0teGUO271UlldlINECKZLNmBM9tBug==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tLmq6-0005ee-6L for bug-gnu-emacs@gnu.org; Thu, 12 Dec 2024 12:19:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 Dec 2024 17:19:02 +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.173402392421689 (code B ref 74496); Thu, 12 Dec 2024 17:19:02 +0000 Original-Received: (at 74496) by debbugs.gnu.org; 12 Dec 2024 17:18:44 +0000 Original-Received: from localhost ([127.0.0.1]:40125 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLmpj-0005da-0V for submit@debbugs.gnu.org; Thu, 12 Dec 2024 12:18:43 -0500 Original-Received: from mout.gmx.net ([212.227.15.15]:49163) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLmpa-0005cu-E4 for 74496@debbugs.gnu.org; Thu, 12 Dec 2024 12:18:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.at; s=s31663417; t=1734023903; x=1734628703; i=rudalics@gmx.at; bh=WYAI0j3QLcgdB18yCtz7rXo3u6MJTwZWzo2c5b7yWuI=; h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:Subject:To:Cc: References:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=JxJdo7itDgN2Cubzq2ICwU3g48nUHLvhe9/t5bRe+cpMN+LEVly19vGxAtpSCFXx rI5D28Lgdcmch5FUuPGFFM3lYqZdQi0fiZFcYhtXhu+1ZfLsWnaGWEdVPa6pYmbQn 891mgOopfW+RCHNgdgodE2eV6Z96vdCQr+5kj1LvCPM6UNgE6BMJEBsZkwYlHh7W+ f3CTSbRaNrgHzXOCKsTLV4kbmgrZPIKEhUDawAI+A4SLXEFD6wWif1mhbwra+fKnX PwJuOnL4sCibmE7UVjP7jd62aZBnFBBxoretVTxdrqFrVvLUkUiPRaD1CUK2n2Bpv X3X7T2Rrwt9XAdtyXQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from [192.168.31.113] ([213.142.97.30]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1M2O2W-1tK88H2l5i-00BYVR; Thu, 12 Dec 2024 18:18:23 +0100 Content-Language: en-US In-Reply-To: X-Provags-ID: V03:K1:z+HsZFQCHjB23UPmqzB6pU/63X+lI6Mn3XdJaasylp/WzhuN8sb OwM5TdnkEBMhwRuDH9RHehe94YPDsA0aSBi1ygEZDUIUOMBbnNnxkna/YHnPd397hYRDGVS dc7oEmrhtR2pSENPkzztG2hbctX7qBPn92rJ0X8QgHUZCRgOqtCs/WDIn+a9D88PccsD/U7 vGsmVJ/fKuUEMzGhsXjgQ== UI-OutboundReport: notjunk:1;M01:P0:mtQwlZI/JLg=;P2InIFiU68UeJ7+7gsseuaPN3Uq VjODucYiXy2XECCbjylW1W1GW1daBhkJYUno95ArURW+NZDhveGu5eErFfMP+TRz0TYBb1t7L DV4ATgE+PmFSML4Z8QomTWOcVCDs/bpAUb5cO8An0a+XL23nf+IiGHYiB2KogeIvlSC6tGaUW bm4K2ObuEGtiwKmvOvuWdJTEa3vE++Nvzsy0ON/fwltAYyDxtvr4gghH6k9hJ9f2ck7XvDe1/ E/YULZjA0yrQu0s5LVrhSsp+b+v5FR261K6mfQfLB4kPlnO+bwP5U9Is44OKlhphij0EWI/2m SIBIVcz4PvgJF8rKsZu0SEshwUquIx4PBclb8L0DedsS1iksi7MMKB7Z3+sjV0UY7cuMDAJDJ XEnOHddR0HIOU2j5KpzXOTg+g+q6bEhZ7JT5b4uQT8A9vccqZbZYPiHD9t3K+2tJrppIyFyfl tlyB340Oc+dgg+banILKe3AsI64kR2jghA7QK3ZdoNP39hTVtUcp58t3KeZDCIIcBbaxhhgTp 2T58laO4pIB3h4AeLQqCUftuX69nxEm1pbF7sDGKKu+7ngnhx7dhI7pXS8V7yvMh4QJqiLlDv Qr14geEWECHdbAto3xag5ZUDtWVDOxweUDqDnzyumy6YAqxFUuvYKd1GVgD3BYtg7CciZUnAB hoR7SnIsJbEu9yQMllfVFPruXgk7A4c/3DjzsRLQa5GZP9oEnzC2BFEKz6pzGkdnyKF485GtH r2wEEHBXmS/xbv/stawbSIsQup3S/807va6k9ElC+vbjxN/c/baIhETf75zzh8y0xJwuIaxW 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:296927 Archived-At: > Opening the aperture to "F11 fullscreen" for emacs and firefox, on ctwm > restart, the F11 fullscreen state is persisted. Emacs needs the init > file to set t for frame-resize-pixelwise. Loss of the prior framesize > to the F11 fullscreen after ctwm restart is an acceptable glitch for in > my use case as I don't leave F11 fullscreen in the virtual screen > workspace. If you ever do want to leave it you can use a workaround like this: (defun f11 () (interactive) (let ((pos (frame-position))) (if (and (not (frame-parameter nil 'fullscreen)) (< (car pos) 0) (< (cdr pos) 0)) (progn (set-frame-parameter nil 'fullscreen nil) (modify-frame-parameters nil '((left . 20) (top . 20) (width . 80) (height . 24)))) (toggle-frame-fullscreen)))) (global-set-key [f11] 'f11) > Do other window managers remember their window frame size history prior > to their current size at time of wm restart after restart? I could use > the example to show the CTWM maintainers. The CTWM maintainers will probably tell you that other window managers do not allow restarts that keep windows alive. martin