From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: set-frame-parameter a child-frame's 'parent-frame error on macOS ? Date: Mon, 15 Jan 2018 09:49:43 +0100 Message-ID: <874lnn1p7c.fsf@gmail.com> References: <3341a4c3.36ca.160e851bdbd.Coremail.tumashu@163.com> <5A5876A3.10402@gmx.at> <87fu7b6zsj.fsf@163.com> <5A5902D9.9070801@gmx.at> <16191b19.1392.160ed773bef.Coremail.tumashu@163.com> <5A59C872.1010900@gmx.at> <87tvvqxcxr.fsf@163.com> <5A59F476.1060806@gmx.at> <87mv1hcnw8.fsf@163.com> <5A5B1D46.6000608@gmx.at> <731a3868-e589-978b-ee34-ab72cf5c5aff@yandex.ru> <4d250ebc-7979-3229-b9ea-6e57089d02df@yandex.ru> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1516006137 3767 195.159.176.226 (15 Jan 2018 08:48:57 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 15 Jan 2018 08:48:57 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) Cc: martin rudalics , "emacs-devel@gnu.org" , Feng Shu To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 15 09:48:52 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eb0Rf-0008Rp-GX for ged-emacs-devel@m.gmane.org; Mon, 15 Jan 2018 09:48:43 +0100 Original-Received: from localhost ([::1]:48581 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eb0Tf-0001zw-H7 for ged-emacs-devel@m.gmane.org; Mon, 15 Jan 2018 03:50:47 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54178) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eb0Sl-0001xR-CJ for emacs-devel@gnu.org; Mon, 15 Jan 2018 03:49:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eb0Si-0003u9-9Q for emacs-devel@gnu.org; Mon, 15 Jan 2018 03:49:51 -0500 Original-Received: from mail-wm0-x229.google.com ([2a00:1450:400c:c09::229]:39777) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eb0Si-0003so-2p for emacs-devel@gnu.org; Mon, 15 Jan 2018 03:49:48 -0500 Original-Received: by mail-wm0-x229.google.com with SMTP id i11so166794wmf.4 for ; Mon, 15 Jan 2018 00:49:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:gmane-reply-to-list:date:in-reply-to :message-id:user-agent:mime-version; bh=9shlO5LPyEMUPn6apZXFUixnTnlnd7BgnTOV8h35mB0=; b=el98wOFmUAdTAfVgceDoQOGletLQUpe8f2r9T2sbn9Sve8cDYfz6rd6bEehsruRaI+ 1PMrH8pJBTK2fN2cBkOjYduXScEreL0MLlll/DheF8quUzlgalKGJiw8xy4hxR4LODYH vdQpksFtcwxgX8bX1lBn/MwXVy3kwKyafqCtdvUMXMLJ+SYgRhmr7/RCkdhgetBltytR SB8J92Mo1Tiw0qYwl0+6efky57UcIfiR5HKAYqzl1U08zohbWs7NroG01UkZj5fpTOTd OXNyjC1tHPDwgCJi/YAdeBKs9oQ1ml6DcV3rEj+E9wQB2zc6KFzRuCqwkQuDpikkP4PM 6M6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references :gmane-reply-to-list:date:in-reply-to:message-id:user-agent :mime-version; bh=9shlO5LPyEMUPn6apZXFUixnTnlnd7BgnTOV8h35mB0=; b=sT38kQ3juKZvmgsDqqMfQwt8zXnrSaXaK0BL/5tTAoY4xuj0FXXBWH9ux3J/xEtTDn zXH0dwiPhpYe9Oxp4BEEOaZbB7eLG9x0abWIgmFgfWPPj4SU5tsoj2lkMg/e/S+WI602 8IfFAwYkU2WyGSXTCFUFpOXj0oxgB0hOcT/Ze9BGnrtHAKI/QEwcjArsRWExPV24K5J1 LLP+j/01Z1+hxnewRmoU4Ot1rIfHjlVTknXCfyMQRN0m3yi2KGlBO7EJO3WMaZxrs/KE KLf9KE8jNVJPhonvY6zDa/Lxl5/LvN3DINvlkyVJ0oNxhLYpGhZcY0cg9+Pkqe/le5Zh PgXQ== X-Gm-Message-State: AKwxyteBomT3x1LznKB0JdxtjS8PBD4FMalCqwf4A1KJIBLdbM3fDjL1 78Z6Tw1iT8WzCvqXsO/OcdTntEdQ X-Google-Smtp-Source: ACJfBotExoW3C7OtVM++zqw/vrGr3H2dvjb8mkDttcs5EynxRfxhr5B+yK01k+B+woRbvtXrSzaZ3w== X-Received: by 10.80.128.197 with SMTP id 63mr612409edb.55.1516006186466; Mon, 15 Jan 2018 00:49:46 -0800 (PST) Original-Received: from rpluim-ubuntu ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id h56sm17078463ede.45.2018.01.15.00.49.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Jan 2018 00:49:45 -0800 (PST) Gmane-Reply-To-List: yes In-Reply-To: <4d250ebc-7979-3229-b9ea-6e57089d02df@yandex.ru> (Dmitry Gutov's message of "Mon, 15 Jan 2018 03:29:09 +0300") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::229 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:221965 Archived-At: Dmitry Gutov writes: > On 1/14/18 1:35 PM, Dmitry Gutov wrote: >> On 1/14/18 12:05 PM, martin rudalics wrote: >> >>> Does that happen with Robert Pluim's `set-frame-position' scaling >>> patch? >> >> Yes. Without it, both positions were far from point. > > Correction: without that patch, the first (momentary) position is > where the popup should be, and the second one is at 2x the necessary > vertical coordinate. Which means there's another spot that needs scaling applied, which I suspected because of desktop-restore issues I'm seeing, but I haven't found the right place yet. Robert