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: Thu, 30 Jan 2020 19:41:06 +0100 Message-ID: <9bac54df-8cd3-303d-910e-07e161ff1f3e@gmx.at> References: <2056a194.3971.16f8d4dd4c5.Coremail.tumashu@163.com> <8b252ea4-5902-d21e-a0d7-cdb3ddbb4e08@yandex.ru> <39d47d8c.4bad.16fcd672191.Coremail.tumashu@163.com> <729d39eb-d0b4-2cc5-cac3-e129a3effa87@yandex.ru> <06c6b6fb-ce6f-456b-6a22-c5a26a0ab297@gmx.at> <50912835-37d2-f15b-8fd1-b6619893d1ce@yandex.ru> <4a424bf3-ee08-b114-73ef-287bde14003b@gmx.at> <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> 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="103781"; 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 Thu Jan 30 19:44:38 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 1ixEnt-000QwX-Qh for ged-emacs-devel@m.gmane-mx.org; Thu, 30 Jan 2020 19:44:37 +0100 Original-Received: from localhost ([::1]:37744 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ixEns-0006IR-Je for ged-emacs-devel@m.gmane-mx.org; Thu, 30 Jan 2020 13:44:36 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46473) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ixEkh-0004V7-Sd for emacs-devel@gnu.org; Thu, 30 Jan 2020 13:41:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ixEkf-0002nF-Af for emacs-devel@gnu.org; Thu, 30 Jan 2020 13:41:19 -0500 Original-Received: from mout.gmx.net ([212.227.17.22]:56637) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ixEke-0002mS-EK for emacs-devel@gnu.org; Thu, 30 Jan 2020 13:41:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1580409668; bh=Gqv4mce2MbY1HmcNoqpG4TGxWKNnil9WkpxJcSUAAng=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=Y/i5yd5jgG+YNSyihnK+lTyZB2LmOFO+1sU49NGQs1Rao5I4Uw52AIJUmURMu4uz9 iESLBE3g9ZEXvptUoO5gzRU3tSbNP33G4dOB9pDnRPamveA60nVV+Yhl4mOBhQO7uW MeXeZF3wC4RoImZdLxjKXKvOo7AB2o5X/NYXP4hU= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.101] ([46.125.249.27]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MN5if-1jFjTK3WFx-00IzYQ; Thu, 30 Jan 2020 19:41:07 +0100 In-Reply-To: Content-Language: en-US X-Provags-ID: V03:K1:OluhdwiVJ+aKrQ6Q1fL7erTSGepwSDF2EikRgmMRp68Bhf9M0V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x [generic] X-Received-From: 212.227.17.22 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:244779 Archived-At: > mouse.el.diff seems to solve the undecorated frame resizing > problem. No drift anymore, both with and without > frame-resize-pixelwise. So brief testing showed that it's okay now. OK. With an undecorated top-level frame, I presume. > mouse+xfns.diff, on the other hand, is more broken. First of all, it > didn't help resizing child frames (not discernible > difference). With GTK you mean. > Second, it's very broken with desktop scaling (my 200% > makes dragging the frame behave very wildly). Without scaling it > almost works as well as the other patch, but not quite. For instance, > when mouse dragging by the bottom-right corner, at first the corner > jumps a little away from the cursor in the top-left direction, and > then follows it, more or less correctly, from that distance. I didn't care about the scaling factors. The most important aspect of the second patch is that it should solve the X issue with slow child frame resizing and moving (at least it does so here). So you would have to try it with a Lucid child frame, unscaled first. I'll try to fix the scaling issues later. martin