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: Sat, 7 Mar 2020 01:38:17 +0200 Message-ID: <11df08a9-c971-de0e-59db-7296d95ac117@yandex.ru> References: <2056a194.3971.16f8d4dd4c5.Coremail.tumashu@163.com> <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> <142acada-f0d1-edb2-983b-c8f2da559ca8@yandex.ru> <233972cd-b83a-779f-cb3c-925d9b1e8c5c@gmx.at> <545aefc2-946d-7e81-48d6-1c192bf3f14a@yandex.ru> <3a18d71a-9826-fb9a-53d3-b81a65e87bc6@gmx.at> <232a64e6-160d-5770-b07d-65d5dbd7a7fe@gmx.at> 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="76149"; 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 Sat Mar 07 00:38:51 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 1jAMYN-000Jks-Bf for ged-emacs-devel@m.gmane-mx.org; Sat, 07 Mar 2020 00:38:51 +0100 Original-Received: from localhost ([::1]:43538 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jAMYM-0000RH-EC for ged-emacs-devel@m.gmane-mx.org; Fri, 06 Mar 2020 18:38:50 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37524) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jAMXt-0008NY-Ud for emacs-devel@gnu.org; Fri, 06 Mar 2020 18:38:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jAMXs-0000HB-TB for emacs-devel@gnu.org; Fri, 06 Mar 2020 18:38:21 -0500 Original-Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]:52578) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jAMXs-0000Bl-J6 for emacs-devel@gnu.org; Fri, 06 Mar 2020 18:38:20 -0500 Original-Received: by mail-wm1-x32d.google.com with SMTP id p9so4246002wmc.2 for ; Fri, 06 Mar 2020 15:38:20 -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=5qK5xLovuewVZ/mGi7eq8YbspisYq4cNl2QEJMCJ+Wk=; b=fsriwoBKOdYvsadwgmiox0suhLOVEvEym79lb5DHxQR4atAf8S4g76wvI+jufVbhuh 8PIhsG1VJqhu7vOEvlLJ5GctXQkG3BIAyFPYvQ3WEzTPCf7vM8fiJIIy09aoMBqxewwC eEPJoBN1BgWW4oQ5F/528rsrGY298EpjYGkshTsLjGKTTsSYE8+GzWdw7CBAeJoNs85G HOv7We+IJsmvFkstQ/XIVV5v7bZLnvfBAwSP51ncyC1Kr/AlYoW5ERESoDf/1dXTpT/B xL7I9E34uAfniElXZ/Y+kZ275xHWzqmlhB7M6O1nWA44LLlIdHpe8UNcitwZ0ZsyMN92 bK9Q== 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=5qK5xLovuewVZ/mGi7eq8YbspisYq4cNl2QEJMCJ+Wk=; b=SbKq4tWqN9sROkwQenLq81oe5cbaldk0TBhly8pH1TwC25X+aPoeE7c/2m3hMO/A6r 0OhVFQF/mgd2F0rr4eYIBcJ+m1xCVdAvrr10XVvqPpaMAAqFYSJ1JTRDVM71GUNgl1E/ kunLoy8zlN+GoTul51ooxijVzrGaZgUWUWIFvIHl/d+LJSSn0HLe/XpA8lo6i+5ku6tq MiCiMThPmZktKzBwxJKCB/Gi1fDR1vn1yrj3ZcCluWS06sYemFUss6ytJz4HG2qBerS7 byLP0J0xx0p1YR2fAkSXt9Q2y24CoERJHxx9DwSV91d2xrf+Bk4MdpCPRafCu08/z4E5 KN1g== X-Gm-Message-State: ANhLgQ3kukDVwaAIYKa51gHsfUn89ouCFNo4J98PMDSgBxLX82nOeDLH aUw7T5d7oQEmJxno7FVm9jxTdJgi X-Google-Smtp-Source: ADFU+vt+JCudNK6mlU7USa6u49GSUlBjdVCbrXjgAZ+TtcCNeuS7BDLkhYod8ZmDxggA5Vl5DBFH5g== X-Received: by 2002:a1c:7719:: with SMTP id t25mr5969620wmi.7.1583537899249; Fri, 06 Mar 2020 15:38:19 -0800 (PST) Original-Received: from [192.168.0.2] ([66.205.73.129]) by smtp.googlemail.com with ESMTPSA id r3sm12978393wmg.19.2020.03.06.15.38.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 06 Mar 2020 15:38:18 -0800 (PST) In-Reply-To: <232a64e6-160d-5770-b07d-65d5dbd7a7fe@gmx.at> 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::32d 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:245300 Archived-At: On 04.03.2020 19:29, martin rudalics wrote: > > - The thing with "resize then refresh" is also here. When a frame is > > resized, two distinct phases are also visible sometimes. But if it's > > the best we can do with GTK... *shrug* > > Have you ever tried setting 'x-wait-for-event-timeout' to zero? I thought I tried this before, but now I tried it again, and yes, setting it to zero makes that weird effect go away (and setting it to 0.1 makes the said effect come back). So I don't see real downsides to that last patch you posted. Aside from using an obsolete interface, I suppose. And scrollbars, which nobody will use.