From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Cleaning out old X11 toolkits? Date: Sun, 14 Feb 2021 17:53:29 +0200 Message-ID: <83mtw6bq86.fsf@gnu.org> References: <07D5E64D-DAD0-45B3-B272-627A73D7CBAE@gmail.com> <7308DB2C-27A5-4227-A1F9-9949EE558052@gmail.com> <87sg6alweo.fsf@gnus.org> <87pn1erewq.fsf@gmail.com> <87wnvlecrw.fsf@gnus.org> <83sg69o3av.fsf@gnu.org> <87mtwhctte.fsf@gnus.org> <459A0475-E3E7-4159-82DF-93809CCF1E24@gmail.com> <87eehng52n.fsf@gnus.org> <87mtwbye5b.fsf@gmail.com> <87czx7ycva.fsf@tcd.ie> <87eehmyalr.fsf@gmail.com> <877dneoewi.fsf@tcd.ie> <875z2yy6z7.fsf@gmail.com> <878s7twq2t.fsf@gmail.com> <84adc238-c424-bb6b-da28-c4232172da5b@gmx.at> <83zh09dtmo.fsf@gnu.org> <87blcmvmnk.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22830"; mail-complaints-to="usenet@ciao.gmane.io" Cc: casouri@gmail.com, alan@idiocy.org, emacs-devel@gnu.org, contovob@tcd.ie, rudalics@gmx.at, monnier@iro.umontreal.ca, yandros@gmail.com, larsi@gnus.org To: Robert Pluim Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Feb 14 16:54:23 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 1lBJj5-0005nK-1x for ged-emacs-devel@m.gmane-mx.org; Sun, 14 Feb 2021 16:54:23 +0100 Original-Received: from localhost ([::1]:60994 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lBJj4-0004HK-2q for ged-emacs-devel@m.gmane-mx.org; Sun, 14 Feb 2021 10:54:22 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42228) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lBJiD-0003X9-QT for emacs-devel@gnu.org; Sun, 14 Feb 2021 10:53:29 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:40256) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lBJiC-0002B5-TY; Sun, 14 Feb 2021 10:53:28 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1170 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lBJiB-0007lI-Lo; Sun, 14 Feb 2021 10:53:28 -0500 In-Reply-To: <87blcmvmnk.fsf@gmail.com> (message from Robert Pluim on Sun, 14 Feb 2021 13:50:23 +0100) 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:264714 Archived-At: > From: Robert Pluim > Cc: martin rudalics , yandros@gmail.com, > casouri@gmail.com, alan@idiocy.org, emacs-devel@gnu.org, > contovob@tcd.ie, monnier@iro.umontreal.ca, larsi@gnus.org > Date: Sun, 14 Feb 2021 13:50:23 +0100 > > Eli> I think those positioning issues need to be fixed before we will agree > Eli> to merge the branch. > > Iʼm not sure what we can do: under Wayland the window manager I have > ignores programmatic requests to change frame positions, and this is > apparently by design. > > Hmm, specifying *initial* frame sizes and positions seems to work, but > only if done early enough, such as by setting 'default-frame-alist' in > early-init.el. I guess worst case we can destroy frames and recreate > them instead of moving them. Someone (Martin?) suggested creating an > invisible max-size top-level frame that we could use as the parent for > all other frames on pgtk, since pgtk does allow us to move and resize > child-frames. I donʼt know if thatʼs actually possible. If it's feasible to fix these issues, we should try doing that, so that Emacs behaves the same as with other toolkits; controlling the position and geometry of a frame is pretty important, I think. But if it turns out infeasible to do that on Wayland, we should document that fact and move on.