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 13:12:15 +0300 Message-ID: <44dfe3ee-5c08-9a60-a642-8411c8e22921@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> <2d112f1b-ea8e-ac49-1dac-9218db32f6fc@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="15385"; 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 11:12: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 1is28z-0003li-A6 for ged-emacs-devel@m.gmane-mx.org; Thu, 16 Jan 2020 11:12:53 +0100 Original-Received: from localhost ([::1]:39308 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1is28y-0002zO-CG for ged-emacs-devel@m.gmane-mx.org; Thu, 16 Jan 2020 05:12:52 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44336) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1is28S-0002ZK-9y for emacs-devel@gnu.org; Thu, 16 Jan 2020 05:12:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1is28R-000832-9J for emacs-devel@gnu.org; Thu, 16 Jan 2020 05:12:20 -0500 Original-Received: from mail-lj1-x229.google.com ([2a00:1450:4864:20::229]:40146) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1is28R-00082H-0b for emacs-devel@gnu.org; Thu, 16 Jan 2020 05:12:19 -0500 Original-Received: by mail-lj1-x229.google.com with SMTP id u1so21961328ljk.7 for ; Thu, 16 Jan 2020 02:12:18 -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=pmJ1FxytrqgtLW2bBdvpfpM8xaA4LrnBcsQNM0cUNso=; b=FcSfV8bAzybgFBu6qDwCIqlvocrFzPoR4hgDvcY22Svt/VZEfBwMKSzUlyKABgF9UJ UGiSASKbEV5hGewCdUhBZk6ubq+etjKUxfZe0mqA6hKt/sIq6lpPHyzADvAT6x+UEwSx VKi3ZpiGPAlfCtlEXCtTk8klBacPJsrYhVYSUaciZUnpHuKhiKFZBZer9hS+BuxtdAmv bUKdD+n3RZf2zgb1Z3vKaYDFyNHCtMDLvtFUNtTOXJt7D91AAv6rWzC9Hfl5l7PgJEGF gL4kmC/JCpcvVpY5LxgU7xKsghSmW+vLTJlvKDKAB+I2eY48zaUuBsW1yiuYdphIScZc FdJg== 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=pmJ1FxytrqgtLW2bBdvpfpM8xaA4LrnBcsQNM0cUNso=; b=IOBk7CYea7dNBSVhyaSDkyiHLoHPWpvC7M6Il00T7WseCsXzeYoNtP4U3l62JRhD7C t0TW4taTangiAXlvTndMJVDRdLpxIajAnip5J3ASWgQeaqzxmuzMKhNJ+AbRlaviK79c zMo5GXXROp0aRQc9peKB57efyZRpnRsQ5JvwnKHN7+itvqPYh0JB77elzqwzklO+TWcr /OdGrFVvMjm8KjGt9pBWgyw1TBdJDdbd2GQgrHT70gOMTkHHVhktqULYi1RYCXrLlHna /XcesdlMOWK4UyRXDxRb3kDVBVPow6Ribk+K3kgZ4LMZL7Fb0NryjqEXK5k1xjyQJVCm +DhA== X-Gm-Message-State: APjAAAV6xw3xtpLb+BAqzzCnMKWffwEj1osGal6LXclWvmbbshrDo6+V hn23yi1F87ZCqaRulK/IQGeqIZRY2qw= X-Google-Smtp-Source: APXvYqyPD6bFJvqg6EAJiP4E8nF8lrI1Ept7lYEKlFQaRNB/tu3+eN6nw9eM84MSocZLOVixZiGxZg== X-Received: by 2002:a2e:9b9a:: with SMTP id z26mr1657591lji.181.1579169537060; Thu, 16 Jan 2020 02:12:17 -0800 (PST) Original-Received: from [192.168.1.142] ([178.252.127.239]) by smtp.googlemail.com with ESMTPSA id n30sm12042807lfi.54.2020.01.16.02.12.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Jan 2020 02:12:16 -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::229 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:244297 Archived-At: On 16.01.2020 12:44, martin rudalics wrote: > > Dragging the frame by dragging the border shouldn't have happened in the > first place.  Please try again with: > > > (custom-set-faces >  '(internal-border ((t (:background "red"))))) > > (defun open-test (buffer) >   (display-buffer-in-child-frame >    buffer '((child-frame-parameters >              . ((width . 40) >                 (height . 10) >                 (top . 50) >                 (left . 50) >         (minibuffer . nil) >         (border-width . 0) >         (internal-border-width . 10) >         (drag-internal-border . t) >         (drag-with-mode-line . t) >                 ))))) > > (setq-local test-buffer (get-buffer-create "*test child-frame*")) > (setq-local test-frame (window-frame (open-test test-buffer))) The behavior seems to be the same (dragging, not resizing; including dragging by the borders). BTW, somewhat curiously the red border only shows up after I click on the child frame.