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: Fri, 13 Dec 2024 11:30:45 +0100 Message-ID: <354764bf-b8f6-45bc-a3aa-bd99e5b9bf57@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="23534"; 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 Fri Dec 13 11:32:28 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 1tM2yC-0005v9-5D for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 13 Dec 2024 11:32:28 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tM2xs-0007iW-CT; Fri, 13 Dec 2024 05:32:08 -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 1tM2xo-0007hz-An for bug-gnu-emacs@gnu.org; Fri, 13 Dec 2024 05:32:05 -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 1tM2xo-0007yk-0q for bug-gnu-emacs@gnu.org; Fri, 13 Dec 2024 05:32:04 -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=CFGLl1PFIiA6B8KPWS+mOjEGwe9kIrwLdCp5IHQoRlI=; b=ZkttdCY43yN+50rnGFdctnNdDxNNiq75aZxSJObIX7Y6XG4sfyCeg9SsgJM9G/ahM5ABnn16MHHb8BoqAb9l/tXj/4FyOmXStw3IOCw5qcrMVX0ZsIRM6b+u94uXasWJ9t26tpKuWqhMAzvoarQZBmXhmrH/YeYDiLH3SchTumMOrYU99caPzkh9u+q7Edno1cl4nofF4LAMd1SDPGNebC1poiz1AOzfF5URfu/9TOwr/O12qBh/iAvmjx+wsSW49TLC5ize1E5ra8GCEzz0xrZUn+ApokrjMPVLknTW+9RUmRjFvS1SEC2oSLBMfhHnkvXWW3XtVNIApxApGQ7CtA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tM2xm-0006JU-8S for bug-gnu-emacs@gnu.org; Fri, 13 Dec 2024 05:32: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: Fri, 13 Dec 2024 10:32: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.173408587024197 (code B ref 74496); Fri, 13 Dec 2024 10:32:02 +0000 Original-Received: (at 74496) by debbugs.gnu.org; 13 Dec 2024 10:31:10 +0000 Original-Received: from [127.0.0.1] (port=41676 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tM2wt-0006Hn-FQ for submit@debbugs.gnu.org; Fri, 13 Dec 2024 05:31:09 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:59893) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tM2wi-0006HP-1a for 74496@debbugs.gnu.org; Fri, 13 Dec 2024 05:31:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.at; s=s31663417; t=1734085846; x=1734690646; i=rudalics@gmx.at; bh=CFGLl1PFIiA6B8KPWS+mOjEGwe9kIrwLdCp5IHQoRlI=; 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=Mpkjwaxvm4XCLf2gdERuGvkZwmaDTSZOolnVZ79m3FzDJAVTGEy7mz5NPtyhCBFY nmlVHdFs3suqwmkpu+hHilCrCuHX7tY6VIzlQmS+jl3O4uOKx9Me7j6rRrba5Xici KSyFVmt5cU8Bz5epAyu15PeHHlWdeCfbOHzwBaOScIv5OPN3XcbX/xVWOovXXNFCy nF+h62Fd942LfCkV0Ektvt9Koy4/QRvfIQkRDyeJ063UsuVzjoAIviiBVA/sNs8cl 83oQMPyJYMAuZ6F1prNA5JrNQTPotC9G4N85PINS218eRxLUFl9vVxiUZf1CqVTA8 SkT8vNkwMI/TiqiXgA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from [192.168.31.113] ([212.95.5.132]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MwQXN-1td1Sl2pnh-012Ozb; Fri, 13 Dec 2024 11:30:46 +0100 Content-Language: en-US In-Reply-To: X-Provags-ID: V03:K1:0mHLu8Jz9z/f9mZboL5fNTOIhnEMdvQSVJCdQytAuZBS3okIAsG xLMqgj6JtZ40H69yAQ836pykmREKFib+PbiFrPLbYaTX47nKMI2idaHy88LzUP+gKrmdQda I3kFnVLTf5P00W91HcSVB2w1VRxvz5X3rhwzkFZf6gVVI61gIOK6gOp1Gg+Xj5T/IxgdRSe UiqIK4ljK/w9R3pZSo2uQ== UI-OutboundReport: notjunk:1;M01:P0:0XzpvZHwXTY=;eJc/kjUuL5uOwqunef/DBtYpWhJ qqkxEWxXgkhNVwNXAawD8LXbKnAnldB0IGibwrO494mnCMRdsVi3jKK8w2tFPBUDFEokiO08b MuY2gg2WbMWfhsIyf9t3pPLIQ+VpRJ9lppCJ1YMncYOV4khzc107d6nG8LemwzYhhL/JUTg9l nKLIBkbMq+rfGkq98cYMcowLJ1uJQ5sNttiT5wvPUzA9Mtmu9sd8sZDG7/1BDCg4VfAP0GyOD ufT/Ycs0Z18EkGbMxZYYUwzN443BP0lwijg/VId0Tu72FM1TDRrlTKRJEUFALIx+U0mOGGLQ8 JUrXknYiIcYY1UK8dBJOUgD80sClq2MzmOuCu+rQSwRHGysHBZnJKH3Uz8Z8A6IeZxNat2iRe cJZtURE1Z3tqP+evj+Av7UD0JO1a9FnsHwHe14pNW0+Q1rNxeDqOSCOTVUvh/yM1d2os9IZW+ 8N9o6ZUTwUePHD9AgvzFVAbD3E0azRMfSdqVDByubUsJhkUskysPemSe7SHfqO8J1c62e6hVa pEkUkTuQ7Li0RVeBiA0tiAgKR+encFS1XiZbcsImlnhQSu4PaRqqZeag84d+md15rYnbPFs6k 6h/f9j8k7tb5mzOLO7jsrIpy1nkLsIsS9TwK41DseeRbFcBMshjrnxNUl89iCgS7VifcaqQD9 oGE1Vay1oMFEX2z2LGvjf3TCLMg2qdNAJycD69IrGFD/5PcwGkdPjGDR43FnXAUPXzR8mOwWO AB/PlUeva66O1rhV5+RGy77676RZVfYjOAO+Nr9G2zDP0aE4jwW4+spYfq8bJVsn+11KguAb 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:296968 Archived-At: > To stay on topic on this bug, without frame-resize-pixelwise being set > t, F11 fullscreen achieves maximized fullscreen. When ctwm restart > occurs and when the gap appears on the bottom edge of emacs relative to > the desktop background, couldn't a screen refresh controlled by emacs Automatically? Emacs is oblivious of ctwm restarts. All it gets are unmap, map and configure events. > call F11 fullscreen, again, and preserve the experience of maximized > fullscreen? That being the case there's no need to insert in init file > > (setq-default frame-resize-pixelwise t) > > Toggle on the fullboth full screen Window Zoom produces the gap at the > bottom edge before ctwm restart and that is solved by the above init > file setting. Do you see what I mean? Not really. The gap results from the fact that after ctwm restarts the frame has become "normal" again and ctwm applies the resize hints on it. If 'frame-resize-pixelwise' is nil, ctwm rounds the height to the next multiple of the frame's line height (+ the basic size). But you might be able to enhance the f11 specification I sent you earlier to first shrink the frame by a few pixels and then toggle the fullboth status again. So you would have to hit f11 after each ctwm restart. martin