From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: Emacs's set-frame-size can not work well with gnome-shell? Date: Mon, 10 Feb 2020 18:53:54 +0100 Message-ID: References: <2056a194.3971.16f8d4dd4c5.Coremail.tumashu@163.com> <5dd35cdd-2914-0b91-a6fd-e8764feecfb0@gmx.at> <9839e101-a25d-8875-4eee-2e6772249afe@yandex.ru> <728856fd-dab1-eade-54f5-6ba2c299373a@gmx.at> <6c775e15-1113-8406-5583-97c259305a7d@yandex.ru> <0fe2d245-9ac1-3528-e710-38462441f8aa@gmx.at> <9bac54df-8cd3-303d-910e-07e161ff1f3e@gmx.at> <414ade05-1ae6-75c2-9af1-e1eee42799a0@yandex.ru> <44010781-43f0-3bc3-06ed-475c526dee36@gmx.at> <70813591-8c24-cb30-8ecf-0c413a51f472@gmx.at> <81215100-3476-9d2c-f535-f57fbd18fd8b@yandex.ru> <8a485c09-535a-97e6-9817-31e6d2f93adb@gmx.at> <71cd5683-412f-de8d-d1b6-31352a4454ba@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="129661"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "emacs-devel@gnu.org" To: Dmitry Gutov , tumashu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Feb 10 18:56:50 2020 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 1j1DIg-000Xd4-NE for ged-emacs-devel@m.gmane-mx.org; Mon, 10 Feb 2020 18:56:50 +0100 Original-Received: from localhost ([::1]:36994 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j1DIf-0006Ii-Iu for ged-emacs-devel@m.gmane-mx.org; Mon, 10 Feb 2020 12:56:49 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52885) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j1DG6-00056t-4D for emacs-devel@gnu.org; Mon, 10 Feb 2020 12:54:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j1DG5-0000VM-0s for emacs-devel@gnu.org; Mon, 10 Feb 2020 12:54:09 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:33711) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j1DG4-0000So-JD for emacs-devel@gnu.org; Mon, 10 Feb 2020 12:54:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1581357237; bh=elECW4Swy4OPmNO9MuTBl1F1gvc20e0DdcG6Xu6vsZM=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=MhM8o5zBMmktvbSQlGnSiDAlBffAQKM5aHCUW3KYu8QXInZUid1ATSeBctaf2ISg/ KNFJs9TRfLE0jbfjoF0Vk/OWk0m16po7675epChjsSzPfDet61ujy2cTtWHdfnjl8e uS0ZnxADZZzEHQkR9cQceHFC4mK55DBpPYuNspko= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.101] ([212.95.5.53]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N4QsY-1jTEUE3WAI-011V0h; Mon, 10 Feb 2020 18:53:56 +0100 In-Reply-To: <71cd5683-412f-de8d-d1b6-31352a4454ba@yandex.ru> Content-Language: en-US X-Provags-ID: V03:K1:VL1Hy/iTUY92irj5cMDGCEvYnVIRXzU7Qnz+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NU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.17.20 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:244905 Archived-At: >> So you could make the initial child frame 10000 pixel wide and high and >> resizing would never fail? > > Seems like it. > > But set-frame-size still does nothing, so I wouldn't know how to take advantage of this discovery programmatically. Via 'x-set-frame-size-and-position' IIUC. But elsewhere you say it's broken. >> Which ones did you drop - all? The ones in the gdk_window_move_resize >> call should remain, only the ones from the XMoveResizeWindow call should >> be dropped. > > Only the ones from the XMoveResizeWindow call. That was the idea. >> I meanwhile installed mutter here. Debian apparently doesn't resolve >> the dependencies well so I had to manually install some additional >> gnomish features. The whole thing still looks incomplete though. > > Sounds like trying a Live CD might work better for you. That leaves the question of how to get an Emacs build on there, though. I installed a newer Debian from a Live CD a few days ago on another machine but still with an xfce setup. There I installed a newer version of mutter and after installing a thing called pipewire things works more or less. >> Window manager warning: Window 0x4a0003d (Terminal) sets an MWM hint indicating it isn't resizable, but sets min size 1 x 1 and max size 2147483647 x 2147483647; this doesn't make much sense. >> >> but I'm not even sure whether these resulted from an Emacs frame - the >> max size values are not ours AFAICT. Also we set MWM hints only from >> within non-GTK builds, maybe I've been running one of them. > > Sounds like it's talking about the "Terminal" app? Unlikely. It rather belongs to those mutter jokes whenever it finds "another cracksmoker" (you can find these in their window-props.c). > Will do! Although it sounds like you probably have all the same information now. Not really, yet. martin