From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Dmitry Gutov 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 03:16:40 +0300 Message-ID: References: <87wp0sy3bq.fsf@163.com> <5A53B5C5.70105@gmx.at> <87608c54xw.fsf@163.com> <87incbe47u.fsf@gmail.com> <5A55E8AB.1090106@gmx.at> 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 1515629920 25726 195.159.176.226 (11 Jan 2018 00:18:40 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 11 Jan 2018 00:18:40 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:58.0) Gecko/20100101 Thunderbird/58.0 Cc: Feng Shu , emacs-devel@gnu.org To: martin rudalics , Robert Pluim Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 11 01:18:36 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 1eZQZi-0005w8-Fb for ged-emacs-devel@m.gmane.org; Thu, 11 Jan 2018 01:18:30 +0100 Original-Received: from localhost ([::1]:52312 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZQbh-0006lW-T1 for ged-emacs-devel@m.gmane.org; Wed, 10 Jan 2018 19:20:33 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35882) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZQY4-0004co-US for emacs-devel@gnu.org; Wed, 10 Jan 2018 19:16:49 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eZQY0-0004gt-UB for emacs-devel@gnu.org; Wed, 10 Jan 2018 19:16:48 -0500 Original-Received: from mail-lf0-x232.google.com ([2a00:1450:4010:c07::232]:41448) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eZQY0-0004fk-MS for emacs-devel@gnu.org; Wed, 10 Jan 2018 19:16:44 -0500 Original-Received: by mail-lf0-x232.google.com with SMTP id h137so797439lfe.8 for ; Wed, 10 Jan 2018 16:16:44 -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=HGBhu5olF7RlFU400d6LqkHEVcIHVYp5sndRdARDCY8=; b=m+xjkfCnx0BleTMzlGkXgbBfpeaDhVG9v6zX1CiGBkeUdgcYaIwZn+85yCLrhJXHhS EVajR6j1d6bK15hEf4rOrDw+gRr3DA50MzpO/1kAjHC7U+WnPUWFvSfgCS3caNmqKjHj CtSS59gANjWb1msRhC9DPEmpWNagdnsCuU5JAWnRaxn5dMq6OS+LUWHV7/iUN3kznm6K vJ8TpXoaDp8/Wrn/epCWQ+hKbnLOdRdCI4u3LnZltJIgkNickRd2qlumhuxbu1TfuESI X3I9s1Wwgv0ff+CM5Wve5d8kniPGeKa/JSp3GaBeoECJ/h6yGKCXBNrAf7tmn7HQ/rk2 JCvg== 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=HGBhu5olF7RlFU400d6LqkHEVcIHVYp5sndRdARDCY8=; b=Dp+hN1jUjl4WHdf+TDgfcFC5LVjpz4Tcw/Cm993KZHEKsmRnRAnOA2Kpmih2wXo/Wk MT4o53OF6ZKNa1u9jFA36EnFfYUIDWqz/3n0IP6HrxAusER/Qma2c8qQBN62UufHOe9U Sc/xWHXNTxncwqv3bn1ChaQ17yW0KnfTvdnTSGiju2mCF7hVgUsgf4nEL9NUaPuawBhk 6wvkWHbq1cxHV5238O7oZLM7PBXe5w/9N0ucLnaPIm4UREoezrcGh6/DSTcl7wSFRva4 QAPgRZmM6zGEOwY4PMfOmGExwyNVbzxYuwXrsiJTsBnh8YX5/3CrgFVlu4WLM5nXTHRW yNgA== X-Gm-Message-State: AKGB3mLvyQMSogCCndJLVqQRKBe/i6O5mSDGNmVZHZDHOrvNmQoGPB+t nMqdUERv1Dkl/M6aUNEyZ0oPjVGe X-Google-Smtp-Source: ACJfBouD5gf0584vlY7itHYKGaplNU/0h2/uY5Rle7HSL2ZkZXTm9H65wGCkomntjj6YNo16yLmH2A== X-Received: by 10.46.71.21 with SMTP id u21mr11498773lja.67.1515629803099; Wed, 10 Jan 2018 16:16:43 -0800 (PST) Original-Received: from [192.168.1.174] ([178.252.127.239]) by smtp.googlemail.com with ESMTPSA id a197sm1482645lfe.88.2018.01.10.16.16.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Jan 2018 16:16:42 -0800 (PST) In-Reply-To: <5A55E8AB.1090106@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:4010:c07::232 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:221821 Archived-At: On 1/10/18 1:19 PM, martin rudalics wrote: > So I suppose Emacs tooltips (the ones enabled by customizing > `x-gtk-use-system-tooltips' to nil) were affectd by this as well and > should now work properly with your patch. They don't seem affected here either. They are positioned correctly both with and without the patch. > In either case I would like to install the patch on the release branch > so anyone using GTK/GDK scaling please try it ASAP. Like mentioned before, it improves the behavior of Feng Shu's code for me.