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 18:03:33 +0300 Message-ID: <35329f93-d7a9-e845-ddb4-9c4edec5fb43@yandex.ru> References: <2056a194.3971.16f8d4dd4c5.Coremail.tumashu@163.com> <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> <2d112f1b-ea8e-ac49-1dac-9218db32f6fc@yandex.ru> <44dfe3ee-5c08-9a60-a642-8411c8e22921@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="119494"; 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 16:05:55 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 1is6iZ-000UnQ-9T for ged-emacs-devel@m.gmane-mx.org; Thu, 16 Jan 2020 16:05:55 +0100 Original-Received: from localhost ([::1]:43590 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1is6iX-0003vG-Nk for ged-emacs-devel@m.gmane-mx.org; Thu, 16 Jan 2020 10:05:53 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58119) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1is6gN-0001qM-DI for emacs-devel@gnu.org; Thu, 16 Jan 2020 10:03:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1is6gM-0004FL-CR for emacs-devel@gnu.org; Thu, 16 Jan 2020 10:03:39 -0500 Original-Received: from mail-lj1-x236.google.com ([2a00:1450:4864:20::236]:34832) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1is6gM-0004Ej-5h for emacs-devel@gnu.org; Thu, 16 Jan 2020 10:03:38 -0500 Original-Received: by mail-lj1-x236.google.com with SMTP id j1so23038528lja.2 for ; Thu, 16 Jan 2020 07:03:38 -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=EvZ8hw+3X8q/m2/iiDmknVGjr2hlV2TIlJsqzI2T8Nw=; b=p5AFXJ6JBWqoxzz0H8rWD34Zcay0DHUIW9MrLigiTqY1/pR2cycx6T8k8Y8QIRu8eu zR60eIjuXDY3fRrZsjjCk7kIqdcSnrovXodP6X26XyHp2/bkNDvAJF++kZ795Hjy7Oi7 w32TG6G9qyTd3WNE6ReygAhCLJhauhIA4Cc+ZcQlU2S8x8d4FCAouM8MC8BJgiemmog3 4hC4D2T1LlqnhYb22ZhWgwEq4UFXjvfMK+GxB56tm5ABwCe4pJPi6J5k5QLA+OV4Z5zM Rknu5ZVNeppyMJ42NYoHGPn5qcNZbaR/R1xkAD2nFsaFAAAnUkvhz9sGteWsjlBPgoti JJRQ== 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=EvZ8hw+3X8q/m2/iiDmknVGjr2hlV2TIlJsqzI2T8Nw=; b=TF5ups4eGfbMebTYi9DjcgE6FdaOCpg7kLfsApSXkQNYgSNuNBZ+yDGuDJcC2ZUx+w 46xSRw2qyi50+/iIaI+QsK3MtI02Vpx+HJgCCc4B0axDBFNVLduQ/xzsaqivX8KE3z3i gY7wsmq1UfIFNQStBcN8ZH/fRC9jm4KxyOMb27oarwdzb0bhUmLk6aU6rpJf/5hGy7KO 1OqcEy3m30d/haY7CiXPu3NLjQZFWm+kA/yOtjd4xDRqIlH4f0arFQnz22/Ud7ADZGvf 4hWuNs6WJt1ZwWYkLkIJVUHtYg14uxnpLoxidOaO21RQ/ev88dV8i00OsHMRsXjpVt7S H4Fw== X-Gm-Message-State: APjAAAU4q1tVD0ZJ+pOaaInTVeKRx9Sh/lE+TgP6KxKg6+MaaFeAh/Je wqNWMrLPJvrJ06E2i8FC4GvJ4hXU8wY= X-Google-Smtp-Source: APXvYqzGJ69Zh6o69zImYY/+Vbk4w6FHlIfzmXkdh2rD7AEhjbzqpSBD0h1kO7EeEJxqo5EtuVNc5w== X-Received: by 2002:a2e:331a:: with SMTP id d26mr196130ljc.34.1579187016493; Thu, 16 Jan 2020 07:03:36 -0800 (PST) Original-Received: from [192.168.1.142] ([178.252.127.239]) by smtp.googlemail.com with ESMTPSA id h24sm10953841ljl.80.2020.01.16.07.03.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Jan 2020 07:03:35 -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::236 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:244301 Archived-At: On 16.01.2020 13:22, martin rudalics wrote: > > The behavior seems to be the same (dragging, not resizing; including > dragging by the borders). > > Earlier your 'frame-geometry' reported that the child frame has no > borders.  So there should be no dragging by the borders, only resizing > via the internal borders.  Hence this behavior sounds strange. My intuitive understanding is that the WM considers this frame fixed-size for some reason. And when mouse dragging of the top border is initiated, it is indeed resized by moving the top border. And then some other piece of code somewhere sees that and thinks, hey, this window must be X height! And fixes the situation by resizing it back (but moving the bottom border). Which makes the frame move.