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: Wed, 10 Jan 2018 19:24:17 +0300 Message-ID: <752bbb0f-787d-3372-1477-bfb9db1ced2a@yandex.ru> References: <87wp0sy3bq.fsf@163.com> <5A53B5C5.70105@gmx.at> <87608c54xw.fsf@163.com> <87incbe47u.fsf@gmail.com> <87r2qxj03c.fsf@gmail.com> <87mv1liweh.fsf@gmail.com> <87inc9iu2x.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 1515601444 23308 195.159.176.226 (10 Jan 2018 16:24:04 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 10 Jan 2018 16:24:04 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:58.0) Gecko/20100101 Thunderbird/58.0 Cc: emacs-devel@gnu.org To: Robert Pluim Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 10 17:23:59 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 1eZJAU-0005aL-9f for ged-emacs-devel@m.gmane.org; Wed, 10 Jan 2018 17:23:58 +0100 Original-Received: from localhost ([::1]:52014 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZJCU-0003Pw-0Q for ged-emacs-devel@m.gmane.org; Wed, 10 Jan 2018 11:26:02 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51527) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZJAu-0002IF-K8 for emacs-devel@gnu.org; Wed, 10 Jan 2018 11:24:27 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eZJAr-0004I8-Ev for emacs-devel@gnu.org; Wed, 10 Jan 2018 11:24:24 -0500 Original-Received: from mail-lf0-x232.google.com ([2a00:1450:4010:c07::232]:33312) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eZJAr-0004HF-6X for emacs-devel@gnu.org; Wed, 10 Jan 2018 11:24:21 -0500 Original-Received: by mail-lf0-x232.google.com with SMTP id j143so20484957lfg.0 for ; Wed, 10 Jan 2018 08:24:21 -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=wxWx/KOi7m8iLT2QGK5oAloY56hF9SndueZfE2GKNLU=; b=nCSIRqgvSq51rNWabMcouCgtl7Ha7SFHwooSxtSYmqhRLAXswjNGMn0zacYZyDoqyi sLR9uS5foSBt08CiQSNCL1+/8H4B/D6cGBU3xGXG3pgxUjauBM7mCCUcpTEtcnT2bBGr /QlbVdRNGu8fY/+jPdUSCz/GgZ4hVO4RPI9LtWMBTEZMDkJW052LK5EmVbHX0QyBUCJ7 0au5d3zhLfj4zvC2/FmWKtlkU6dQmtZ+NGNxTZOCuZ8ILmhbQq0x0UZFg7PbSI1FsCuE r6UxPhbzFkH7rRvpHRRQu1DNVQMlNGrjXOJ+l+1gxx6tJBedMxbjUCIT+EBEOQUnOz2I xP6g== 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=wxWx/KOi7m8iLT2QGK5oAloY56hF9SndueZfE2GKNLU=; b=oTBaqvf3tFjg4+O5Lne6/FPq45oQCJ/ODANqWaR9BqvEfnjrvgbm6yKXisDrtRdKhn xSYA8WLXPe3D2ZOa5HlwTl6mwbgeJ+IxDL1VzSJFlt/H5Hpwiu4ciHCT+XVdMwrBF38R 5txoOqgxiCdp3SzyDVDTrmwAxEJ6/Kims6o/0+mspAnHAkTB1MIu/F3WPs7OpUo8m2hE X7Ai1hqu08l/8F9vlZ/e7ad7iMXki3LWvoVAOw6s8DRw3sGqu7k8iRgaw1K7LG7UvQuA Zmxx6PKvvYTiTdHb9IPcGBiincvA7F+RuA79mr3frh9HAKXxuQ76cvnQPXVFy0KVlBRY QX0A== X-Gm-Message-State: AKGB3mJcXswE0N/yY1xSvjr1EryxjICY/yPk6M8HYq8P8KNQ//HXX1kG w63KjDUkf8rl/CONG9qS/ruXD8gR X-Google-Smtp-Source: ACJfBotJFIozgxivpTDvVOonMi/6ZG/dfkVgtF2F1TllkckW/D162D0d077lLBB/utLHOA+PuMNVEQ== X-Received: by 10.46.124.13 with SMTP id x13mr11357049ljc.109.1515601459527; Wed, 10 Jan 2018 08:24:19 -0800 (PST) Original-Received: from [192.168.1.174] ([178.252.127.239]) by smtp.googlemail.com with ESMTPSA id h28sm3375363ljb.30.2018.01.10.08.24.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Jan 2018 08:24:18 -0800 (PST) In-Reply-To: <87inc9iu2x.fsf@gmail.com> 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:221799 Archived-At: On 1/10/18 6:58 PM, Robert Pluim wrote: > They must be using something other than gtk_widget_get_scale_factor > then. Or they've changed it to support non-integer values. Indeed, it seems like this is a value-add over GNOME. Canonical is said to use some patched versions of libraries, maybe it's one of the places. Or it performs additional scaling in the compositor, like described here: https://wiki.gnome.org/Initiatives/FracionalScaling In that case, the proposed fix might work with those cases too.