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: Thu, 16 Jan 2020 12:27:51 +0300 Message-ID: <2d112f1b-ea8e-ac49-1dac-9218db32f6fc@yandex.ru> References: <2056a194.3971.16f8d4dd4c5.Coremail.tumashu@163.com> <7c344291-8161-eff1-b07b-fb764535abef@gmx.at> <877e0bd3-d21b-43a4-b5fa-c33f123a14c0@gmx.at> <9475f3ba-cfd5-c808-3647-2c395c1ee851@yandex.ru> <8f465e5f-fd61-9540-e094-31487eea60b4@gmx.at> <49dd7093-cd65-f50d-fca5-f1859fc8fdab@yandex.ru> <3b6682cc-b484-84e6-7b4d-0972f1d592b7@gmx.at> <0c6ffbc3-f2a0-9658-c23d-f2838e307163@yandex.ru> <67eb5852-2047-1e74-1c83-fb8f1767a772@gmx.at> <9157f42c-ae6b-9537-4b44-08672cf60884@gmx.at> <4fc23d82-7a6a-6011-698a-b4f9d7eb6a53@yandex.ru> <5597826b-98b3-179d-ba9a-2deb314cba44@gmx.at> 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="88381"; 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 Thu Jan 16 10:28:27 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 1is1Rz-000Mhg-PI for ged-emacs-devel@m.gmane-mx.org; Thu, 16 Jan 2020 10:28:27 +0100 Original-Received: from localhost ([::1]:38932 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1is1Ry-0005V1-QC for ged-emacs-devel@m.gmane-mx.org; Thu, 16 Jan 2020 04:28:26 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38131) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1is1RU-00054H-6m for emacs-devel@gnu.org; Thu, 16 Jan 2020 04:27:57 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1is1RT-0000ut-0s for emacs-devel@gnu.org; Thu, 16 Jan 2020 04:27:55 -0500 Original-Received: from mail-lf1-x142.google.com ([2a00:1450:4864:20::142]:36505) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1is1RS-0000u7-Q4 for emacs-devel@gnu.org; Thu, 16 Jan 2020 04:27:54 -0500 Original-Received: by mail-lf1-x142.google.com with SMTP id n12so15035310lfe.3 for ; Thu, 16 Jan 2020 01:27:54 -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=Vlhhz9J57b5VjsyzzKniyFF6GW751qMPwqeBHAdGgbk=; b=VI2RZ5nDzDowrsv3d8AvVSsgws3r16fZMhQFAof3ZuKO/QJFfD8jbAUS7LzU2NRj8P lUPRuItjMKBUp6vzKwtDGaL6Z7az2tWr8M3kzTLW1FU2+aiic2+6e4Ib6OXlbg6byUeX FzuuMOd+pFoCIRrhb7RlfGCBoqJ8w8d/1qehZF0TJIxRwXssZMwZFaGYY8pPychKR0v3 f9p6/I3uF5ztrjXebpDle+qbUlyRQmzqbJ3im+M7xIciNWtATwhUeqIPZpv/SnKwfv3X J1rI+bzeIo7ayyG7clG4V4z/1cbOJ6y/aqUNKG5/qd/ddWAEctWCTglQ4RuwWWRb35pE w0xA== 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=Vlhhz9J57b5VjsyzzKniyFF6GW751qMPwqeBHAdGgbk=; b=AtQ37/49BRqBGoeeDK8cylywzdGEUQpWd9rrEqaaWyY/+Cz38MvJVSYd7Sn2UFvblF p/tZNmTpU9DMfLN/qZva8m0qDAA7to0Ny53dY55ZBc3Bt6SmoNUQXDNwpPuKxVmMqB4P M+FJVQ8L/yH5499bJjoaPi1zZaPgzpbPTaxW5aXM8AGwZqfeSUZOYkDD/1XFR4Gvr/nL jHqHIfeLWrbcMMOjVNwgvWKBLNhQ5kHUDhikObq4eMRIXrX7eWHatynziS5f0ebFj6hU mjCXL/BfvsKXfjyABypli6Hy86Ho8tyrFdEC170e3dfmEIJOcx8JsBIx1fTYfF38kiXN X7Ng== X-Gm-Message-State: APjAAAWLxp35nEIrPBC99kVojo4s9v9c4mCZgdajTdQYVqhxfS/FxCOU CbHO21wAv/uuLHwVMaD4KxlmQO3P8HA= X-Google-Smtp-Source: APXvYqynIM9a2t0TQkGFjgO3oB61hRQnYXCu6245gYlVMN2rUSCg3eb0bodDvCiY0vzaIQQCGdV5OQ== X-Received: by 2002:ac2:4adc:: with SMTP id m28mr2013380lfp.26.1579166872799; Thu, 16 Jan 2020 01:27:52 -0800 (PST) Original-Received: from [192.168.1.142] ([178.252.127.239]) by smtp.googlemail.com with ESMTPSA id f26sm10384391ljn.104.2020.01.16.01.27.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Jan 2020 01:27:52 -0800 (PST) In-Reply-To: <5597826b-98b3-179d-ba9a-2deb314cba44@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::142 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:244295 Archived-At: On 16.01.2020 12:18, martin rudalics wrote: > >> This should allow to (1) drag the frame around with mouse-1 down on the > >> mode line and (2) draw a 10 pixel wide red internal border (color > >> visible only after a redisplay, maybe) I can use here to resize the > >> frame with mouse-1 (Emacs resizing natively).  Both work quite snappy > >> here with an optimized build running under Xfce on an old-stable > Debian. > > > > Yup, that's working fine on my GNOME desktop. No obvious slowdown, at > least. > > I'm confused now.  Does (2) really work in the sense that you can resize > the frame by dragging its internal border? Ah! No, sorry. I can drag it around no problem. As for resizing, it doesn't work. The cursor shows the appropriate shapes when near the window borders, but dragging it by the border can only move it (i.e. dragging the top or left border moves the child frame, but does not resize it). Dragging it by the border is not as snappy as dragging it by the mode-line, BTW.