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: Wed, 22 Jan 2020 14:35:40 +0300 Message-ID: References: <2056a194.3971.16f8d4dd4c5.Coremail.tumashu@163.com> <5597826b-98b3-179d-ba9a-2deb314cba44@gmx.at> <2d112f1b-ea8e-ac49-1dac-9218db32f6fc@yandex.ru> <44dfe3ee-5c08-9a60-a642-8411c8e22921@yandex.ru> <35329f93-d7a9-e845-ddb4-9c4edec5fb43@yandex.ru> <53c7798d-3022-d4bd-af56-ea4a5181a887@gmx.at> <15405719-d58d-44db-f1df-ad3bb272b2fc@yandex.ru> <437eae9b-ccc1-3875-86b7-1af0e61b6e15@gmx.at> <710da57c-28dc-fab7-81af-0318a9389d6a@yandex.ru> <0e41cd9e-8be3-f67a-6958-7bad38ee1266@gmx.at> <6c86c25b-22df-2b69-34fe-539605f624ba@yandex.ru> <7dd69fe5-4ef4-782c-2fba-031d475f6406@yandex.ru> <32fb4915-be55-f753-5f6c-423a09030fd6@gmx.at> <8b252ea4-5902-d21e-a0d7-cdb3ddbb4e08@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="24270"; 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 Wed Jan 22 12:36: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 1iuEJU-0006H9-CU for ged-emacs-devel@m.gmane-mx.org; Wed, 22 Jan 2020 12:36:48 +0100 Original-Received: from localhost ([::1]:40534 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iuEJT-0003Ty-Ed for ged-emacs-devel@m.gmane-mx.org; Wed, 22 Jan 2020 06:36:47 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39192) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iuEIV-0002vk-A2 for emacs-devel@gnu.org; Wed, 22 Jan 2020 06:35:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iuEIU-0008Hk-6x for emacs-devel@gnu.org; Wed, 22 Jan 2020 06:35:47 -0500 Original-Received: from mail-lf1-x144.google.com ([2a00:1450:4864:20::144]:38282) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iuEIS-0008FK-Sz for emacs-devel@gnu.org; Wed, 22 Jan 2020 06:35:46 -0500 Original-Received: by mail-lf1-x144.google.com with SMTP id r14so5073020lfm.5 for ; Wed, 22 Jan 2020 03:35:44 -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=1i4PGKrEhreLtC8kDaaztbQQT9aCh0+xbndLxkTt1VI=; b=AumxLRAHkRGgL6at/mjRUUl9j5w6Yu6FLB/piE78a3Ps4IcjHxQU7XffANE0OJeQ1t SlLBEJlqRE9i8vNsrHReq2IQ+3KE1DNVNDcbMqet8WVgbVV0vn9LzD0UIRReXf05+LMi Epv5QF9JVS4S2t2zKclHCgNOJwxoaDNzmaU1OJtN0emUD2QF+Jpa6E0GIDEhm28BJFUJ oSwChKDO1QJiBAyU9tOahccI0LOMz8sEO9zAdBMbDuQUQLE+OjIEW56ShQSEtK8f+PWw BdkIj+hZHAADc3CHS7CJwow4jwWBjtiO31KlkcHj56wVUIMu7R8CXtwNNsR6KQp3eicW mOOQ== 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=1i4PGKrEhreLtC8kDaaztbQQT9aCh0+xbndLxkTt1VI=; b=T2TQDh6XlKmTB4WJmzKyrRMSXvvsOnUOcBcHLTtP5JkpX7o39glt4W+QEVyDMs4n5l +YGC0U6VGE19EcKT8IoNr6VMi6B/LO2wx7vzMVPUEjRs/pRsoXM694zmw4qwPP96mcC3 eyiz41t+H+KQS9SnvMryj78+MvMVEnNhbGXq+K+8fQy1d4HZAyK5zw3dgAORw1r/72Ug KczHtN5lLCwcyNZs8PguepXK6ADdwGYEJYGV2wsyK3dlQ66cF7FeVomHHwzi6vde/PIZ m8UAUBIM3kxwBhWkEc1apbp5x8v2MWlgdr38rOKvP+nGqX5Z0PpBEiHtA/XQgMchiVyJ HCwA== X-Gm-Message-State: APjAAAVGzIf5+09/A/0/bJAmNaJTP6Mjm7O6DW4asaAiPJ8zSFyytigE GZtSKlxZvLndBrHQ7ZrSIxV71PftyTQ= X-Google-Smtp-Source: APXvYqxGYPtn48iSl6r7PQq1FX+gLI/wGPcuq+05V2+2kMncLSfPNK8Fz26HhtABfVcZPN5Xl/MgLw== X-Received: by 2002:a19:8c4d:: with SMTP id i13mr1556709lfj.42.1579692942784; Wed, 22 Jan 2020 03:35:42 -0800 (PST) Original-Received: from [192.168.1.142] ([178.252.127.239]) by smtp.googlemail.com with ESMTPSA id n1sm20378289lfq.16.2020.01.22.03.35.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Jan 2020 03:35:41 -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::144 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:244494 Archived-At: On 22.01.2020 12:08, martin rudalics wrote: > > Does building with '-Og' help? It's really fast here, faster than GTK > by an order of magnitude (or two). > > I haven't tried it.  What I need is an executable I can debug reliably. All I'm saying, the users are not really helpful so far, so you might be the best person to try debugging the perf problems with Lucid. I'd try, but I don't have any. > Next thing to try is to always run XResizeWindow and XMoveWindow for GTK > child windows.  This should avoid any GTK related checks for them.  The > attached patch has three hunks.  Try them all first and maybe try to > only apply the last one (or the last two) afterwards.  Here it breaks my > "moving the left or top border of GTK child frames" behavior. Aaand none of this helped either. Not all 3 hunks together, nor combinations (2, 3), (3) or (1).