From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Emacs's set-frame-size can not work well with gnome-shell? Date: Sun, 23 Feb 2020 11:22:12 +0200 Message-ID: <945fb9b8-1563-d650-ea47-4edd42d69d5f@yandex.ru> References: <2056a194.3971.16f8d4dd4c5.Coremail.tumashu@163.com> <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> <0734f22f-9237-d46a-27d5-016444f48d70@gmx.at> <5e28c37f-95a9-a5ae-d73c-b5bb769154c0@yandex.ru> <4c0993c7-0583-8573-60c5-ab0a92121fd3@gmx.at> <4b114f01-d8d9-2c33-6312-1e2e60a5d462@yandex.ru> <127bb534-e77c-bad0-683b-92c206feeba1@yandex.ru> <2af76486-f976-eef0-683c-45b7ea6c54eb@gmx.at> <090b65ce-f90a-c959-c72b-be73d5a2eb19@yandex.ru> <15b20ca9-b684-1ad5-3a25-822a00736c69@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="64132"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 Cc: "emacs-devel@gnu.org" To: martin rudalics , tumashu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Feb 23 10:22:47 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 1j5nTL-000GcO-AX for ged-emacs-devel@m.gmane-mx.org; Sun, 23 Feb 2020 10:22:47 +0100 Original-Received: from localhost ([::1]:51066 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j5nTK-0004ML-D6 for ged-emacs-devel@m.gmane-mx.org; Sun, 23 Feb 2020 04:22:46 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50087) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j5nSs-0003uv-8v for emacs-devel@gnu.org; Sun, 23 Feb 2020 04:22:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j5nSr-0008Ke-8O for emacs-devel@gnu.org; Sun, 23 Feb 2020 04:22:18 -0500 Original-Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]:55485) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j5nSr-0008JV-1H for emacs-devel@gnu.org; Sun, 23 Feb 2020 04:22:17 -0500 Original-Received: by mail-wm1-x343.google.com with SMTP id q9so6017449wmj.5 for ; Sun, 23 Feb 2020 01:22:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=hPMU254JEOd7rAYVCQ1aJkKMLHpYv++jV70++p1EIAU=; b=Het08WxpyqEORfDfHYtvwg6j6UDVcKmSbd05M/fAcsqyOde/M6ndsyqNYhbV7Uvdi1 tFEX+6RG8dNQpEEr6++Pk9eNVsh0xDlsQmRpGI08IyIqZ/s64tRLd7PCE+7ybeNtF+M8 3QCXwT0OvmVMIDhKm5T3znt3HdXcbMjuRNFh2V+wCTqRDEZJTH927O9cU5qwPbZKINvv wJsHEcRuCC7ce/pa+k2GXTfhkWj1KBejPZbaJ6zXIA+ik8WABEvLyq861GEay+byJrqQ PgDDI9nVYVMWZbKP/dmn5p+R+qvG5Nkxeypw/iThCdvG8ZRxfy/Vz0sUuxgox5P14FsT DMDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=hPMU254JEOd7rAYVCQ1aJkKMLHpYv++jV70++p1EIAU=; b=majhi0YOpaRad3gKIaK1F3pDDlBg5o1NGzPvfpgggbGr3KH5zrMQeD2Ypjz4E/LO3W 6II6u6DB+uL0EQHolOQsp2RmzxkkrxD9/Cvd3wb+2GhVo1LBZ66sA6psGy+02199Kjsr pQUhw/297Xu+GG13AT+MEGRcBstYmk3HnZ5tECUQHQ/BndruOMX1qn4rXzDaFgc+41kh UIH//RieMFYWX1a2M2t0XZA6jASjIxB6cPlL6vCuiCjRgCwVesX1LrVaRx1NQ3iXDcGf 6enR9AtHbd79bUyLP8AXUlZcOr2BZeJvMw1pikZU7QfH/La35LZeUDtg6ko7eg0U+B5c NI9Q== X-Gm-Message-State: APjAAAX1BhCsHCQZ/z4vkKNvdKOJE/URMlmsDoRhLeEx03jxTSKRYLww QfE1dnAgFpRVmnuBzOo6dakiq6rI X-Google-Smtp-Source: APXvYqxw/eGAAbbtp3w+o2weyqV2jbkSE/teXJen3wxyAegUGnZpHxs92lhV4gmUCSWcAuyYH+GlMg== X-Received: by 2002:a1c:38c7:: with SMTP id f190mr14765397wma.94.1582449734891; Sun, 23 Feb 2020 01:22:14 -0800 (PST) Original-Received: from [192.168.0.3] ([66.205.73.129]) by smtp.googlemail.com with ESMTPSA id w13sm12849467wru.38.2020.02.23.01.22.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 23 Feb 2020 01:22:14 -0800 (PST) In-Reply-To: Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::343 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:245038 Archived-At: On 21.02.2020 18:08, martin rudalics wrote: > In either case I'd have thought that the now attached patch is needed to > avoid a flicker when the frame does not need to be resized (and we still > would hide the frame and make it visible again) but apparently it's not > needed). I've tried this patch and can't see any difference in behavior. I could ask why not omit the call to gtk_window_resize when (totalwidth == gwidth && totalheight == gheight), but that would probably only affect performance. > Resizing only, I suppose.  We seemed to agree earlier that > Lucid is slow > at repositioning + resizing. Yes. In my main "real" scenario, though, resizing is a more frequent operation than repositioning (though the latter also happens regularly).