From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Garjola Dindi Newsgroups: gmane.emacs.devel Subject: Re: Proposing changes to adjust_frame_size Date: Sun, 09 May 2021 12:09:23 +0200 Message-ID: <87fsyw5ics.fsf@pc-117-162.gandi.net> References: <69a5e928-2998-f776-fa0d-f35e6ab1e65d@gmx.at> <20210505.230733.1330791046879877132.masm@luna.pink.masm11.me> <87a6p9knr9.fsf@gnu.org> <9712b3f0-c442-61fc-93a6-773ffcde1c2e@gmx.at> <87y2cswam6.fsf@gnu.org> <1b11ac72-6687-f2d4-1d9f-0619d6d2462c@gmx.at> <87v97ww8h4.fsf@gnu.org> <87eaa667-b3cd-0274-669c-3cb4e0076ce0@gmx.at> <87sg30vy7w.fsf@gnu.org> <87pmy3x620.fsf@gnu.org> <52a5361a-451e-7167-edfd-09066dfdcc3e@gmx.at> <875yzt907k.fsf@gnu.org> <0633b8ac-de8e-b57a-f3f4-804c5efb009a@gmx.at> <874kfdtj5l.fsf@gnu.org> <37f3ce19-d858-111e-a5aa-06c24803e17b@gmx.at> <87v97tvt7e.fsf@gnu.org> <726883d4-8d13-a3cb-30b7-a74c4b44f8ed@gmx.at> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4657"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: martin rudalics To: emacs-devel@gnu.org Cancel-Lock: sha1:w2XkLDN3m0+okEs7hODPdmKejcE= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun May 09 12:21:05 2021 Return-path: Envelope-to: ged-emacs-devel@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 1lfgYa-00015T-1q for ged-emacs-devel@m.gmane-mx.org; Sun, 09 May 2021 12:21:04 +0200 Original-Received: from localhost ([::1]:60620 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lfgYZ-0001El-4z for ged-emacs-devel@m.gmane-mx.org; Sun, 09 May 2021 06:21:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60604) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfgXd-0000U6-8F for emacs-devel@gnu.org; Sun, 09 May 2021 06:20:05 -0400 Original-Received: from ciao.gmane.io ([116.202.254.214]:33168) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfgXb-0002nM-V2 for emacs-devel@gnu.org; Sun, 09 May 2021 06:20:05 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1lfgXa-000ANe-0P for emacs-devel@gnu.org; Sun, 09 May 2021 12:20:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ Received-SPF: pass client-ip=116.202.254.214; envelope-from=ged-emacs-devel@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:269076 Archived-At: On Sun 09-May-2021 at 10:41:00 +02, martin rudalics wrote: >>> But thhis last ConfigureNotify event is not explicable to me, values >>> like 789x845 are unprecedented so far. Does your WM deliberately >>> resize the frame? >> >> Yes, pretty much like Emacs splits windows into two balanced halves. I >> have a 1600 pixel wide screen, 3 pixels gap between WM windows, and 3 >> pixel window borders. That makes 1579 pixels width for actual WM >> windows, divided by two (I've had a terminal at the left and emacs at >> the right), makes 789.5 pixels per window. > > Elementary. But why should it react so allergically to our resize > request? Basically, we have no choice: For some "normal" WMs we have to > tell them the size we want when the frame is mapped because before that > they may ignore our resize requests and after that the frame has already > appeared with its wrong size. For a tiling WM requesting a size when > the frame is mapped is apparently a mortal sin. > > Whatever it be, I attach a patch to address this issue. It basically > means that on a tiling WM you cannot start with an iconic frame (but > doing so should not make sense anyway). If people still want to do > that, we probably need a customizable variable where users tell Emacs > what kind of WM they use. > > martin Hi, I have been following this issue since commit 30d974bf5c02a1367291fbb6fa17a182bb7974b7 breaks EXWM (the Emacs X WM), since the first operation is resizing the frame to full screen. >From this last message I understand that the issue is not going to be addressed, which means that EXWM users can't use Emacs master branch. Is my interpretation correct? Thanks. Garjola --