From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: Child-frame can not move to proper position when run "env GDK_SCALE=2 emacs" Date: Thu, 11 Jan 2018 11:54:17 +0100 Message-ID: <5A574259.5080100@gmx.at> References: <87wp0sy3bq.fsf@163.com> <5A53B5C5.70105@gmx.at> <87608c54xw.fsf@163.com> <87incbe47u.fsf@gmail.com> <5A55E8AB.1090106@gmx.at> <871sixkfas.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1515667990 23232 195.159.176.226 (11 Jan 2018 10:53:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 11 Jan 2018 10:53:10 +0000 (UTC) Cc: Feng Shu , emacs-devel@gnu.org To: Robert Pluim Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 11 11:53:06 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 1eZaTj-0005Ge-IY for ged-emacs-devel@m.gmane.org; Thu, 11 Jan 2018 11:52:59 +0100 Original-Received: from localhost ([::1]:34054 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZaVh-0000IB-Ia for ged-emacs-devel@m.gmane.org; Thu, 11 Jan 2018 05:55:01 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47579) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZaVX-0000Ge-AL for emacs-devel@gnu.org; Thu, 11 Jan 2018 05:54:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eZaVS-0007hy-CY for emacs-devel@gnu.org; Thu, 11 Jan 2018 05:54:51 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:51007) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eZaVS-0007hX-2K for emacs-devel@gnu.org; Thu, 11 Jan 2018 05:54:46 -0500 Original-Received: from [192.168.1.100] ([213.162.73.239]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MRkhB-1eSgiw1POz-00Sv8t; Thu, 11 Jan 2018 11:54:27 +0100 In-Reply-To: <871sixkfas.fsf@gmail.com> X-Provags-ID: V03:K0:ki5NJ71EiKsSuZIistZnW6DtWyrkAqWk/EbyBTI/4HTPvwSPl7u sG5NqHxzQYV7pmasUWRAZAq+yX42BnjNH7aq0cEwDyOJh3di65D8wzDfzYYhmIhOnNVkOPu MKJFh0j49mAT4qgUGIaVFkx2TDXBxnpgaS5AIQz6cCitHMTpw80U0wmeJ1IGkdCostKwFd5 zkNsqYyiQI1yKujFifmbw== X-UI-Out-Filterresults: notjunk:1;V01:K0:SoUr1VVqlFk=:e2b4sXEH8p0auGMzMoViNd bkuY37V5HPvS52orTwLK41xk5B/1ZDlYO+ldsDfVyLt5L8r8oHnJP/Qrr8jRNvpsCvdCw3QCw scQHbvHuAGXkSEIAg/mf06PWbDyR4mmL5+LWFMF2Qebe/TdOEnGeKXTc2u7dhjyV7wO1Wcf14 +ORPz3CBczfBUgOgmS4L+S8bC11iYmrzc6123zC0gk97/FtD4uzyKKu/EqAbgVOA+2Q2jygMS h+igSnvniQ8CeA6xPtE5mqKZb04W2qJ6yDMxrgWN89U/LeczmE1sAdhJoZ9E0fCq+0EmzQcNf 0fInGGjp7VZYT74PSMXjGUkeHN4h4jJCJZiV/vt8VDlQ79lyu1zxHgu7IKsjVLx5sRJswexWC o78socfSpgpsfDiqBVOUwf0MqGyP51ySKmNl9ASAWJgmDe8UBH7GtoTamSZoze4HyuVwofjr5 N6BYqu6iH8gyHEhqdskW0nD2mdlGQLl7uhYKCcNtGBDVLz6ndhB4WfydJwYXCQZDmSOGTDRMv p0bb5VLbNuseFrXyDFYbvnd7zXAoB5oeMEKTcL3LZLrY7KoMNpmF/KA8ARWYRFj8IXea3pOdJ YNzwyO7cii+NIs6V0PCMJjEh73tSjGWZHngMDg6sDUieaDBBQP3QX+ZcQFt0aH3cFkpN394QW OhRwvNdk8MzWHbKUDBADf73w/iTxDEYGhcGYuPDoJ+TeOy2gQ+/oXieaQPuLQsQrha3f3xiKW XyIGadQiRFOwr3yXWxkkwV5GtGftUslSOvieQ0r9K/6/wScAKrgZrBRs2qM/j4U84duvf+5U X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.17.20 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:221827 Archived-At: > I don't use tooltips at all normally, but in quick testing this patch > makes no difference in the GDK_SCALE=2 case. Then the problem seems to occur exclusively when we want to position a window (a tooltip window in xg_show_tooltip, a scroll bar window in xg_update_scrollbar_pos, or a window corresponding to a child frame as in the present case) relative to its Emacs parent window. It seems to never occur when we want to position a frame's window relative to the top-level window. martin