From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Tobias Bading Newsgroups: gmane.emacs.devel Subject: Re: The rabbit hole that is HiDPI... (empty menus / bug#31223 et al) Date: Wed, 27 Nov 2019 12:06:18 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="110828"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.2 To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 27 12:09:27 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iZvCH-000SjD-W0 for ged-emacs-devel@m.gmane.org; Wed, 27 Nov 2019 12:09:26 +0100 Original-Received: from localhost ([::1]:37022 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iZvCG-0002Zu-FB for ged-emacs-devel@m.gmane.org; Wed, 27 Nov 2019 06:09:24 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39700) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iZv9Q-0002ZX-GG for emacs-devel@gnu.org; Wed, 27 Nov 2019 06:06:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iZv9O-0004mN-GM for emacs-devel@gnu.org; Wed, 27 Nov 2019 06:06:28 -0500 Original-Received: from mout.web.de ([212.227.17.12]:59989) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iZv9M-0004l3-Nz for emacs-devel@gnu.org; Wed, 27 Nov 2019 06:06:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1574852782; bh=jR5UxmZGSqeDasuQtpxEG1xN9J++qyOjeoJsxCQU7WQ=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=opq8APCDXaHZGFfQjJeixBWIzLWzUPHA3ot2ZjbDowBAdYG98MV2EJsjk169PwxqR cNUcvR38CR5RVAg4mdXLreEqxEE55oCcOeKEmdDekjXjfl2YNooMuTu8MK8u+LHdxq pYHcuBt7iF+zrTyIu9acwIroDwGcSiiRv8RtXPDY= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Original-Received: from [192.168.2.103] ([84.143.156.184]) by smtp.web.de (mrweb101 [213.165.67.124]) with ESMTPSA (Nemesis) id 0M4ZPc-1hbTIw2dcS-00yllg for ; Wed, 27 Nov 2019 12:06:22 +0100 In-Reply-To: Content-Language: en-US X-Provags-ID: V03:K1:515VWeDkwmltdHqx8ThK/LRMFi1m2iJ+Gjjr6/cN+pIYhRX1EB8 8b0wxqlQYUjMV1z47ifOQjI/tXrgouc9ckT8Z2t55hPMG2nWZcBOu4eWr8jNtRQYdvMntH+ AoRzJhKCyThEkjIZJWChRa8I3VVVb5gEkHlJ6N06efRP8v2Ii51UIXksDdVJmdgESeXyLES J9acwufW8JxmUpx7LQSTg== X-UI-Out-Filterresults: notjunk:1;V03:K0:rFai9oXqs+I=:oHyve1BmqtJGbtnfJ2uB+M c2pvzp5ajxIvV7431Dg+oWU2AgCfH+b6GePtTQ3HPD31x3JnwQlDvDGFhWZxDG8vbwWn1S1ye m0Gt1ki3WS3FLoNCaIWhuGE0aB10XzlYoHkUeJ6ahdIqVIRV3lWRE6eEnsqRBLj3Ye0EiRt7m /q79892dfnRXbUbNRw0mXLUj9zygXcmk65IKp2bQiUgZlJ/uWU3thi4nims2q79ztquPP5tXS AcyNBCUknVm+/yIjU9jWkeEPZAkjpJ/oXWdxJZWts42+bmQTz/bjRKeKggX1ZZ6myH6H5ADY5 452vdB0B3LaH2+7iqCQ/oM3ax7ZPHNigZ3wc73rXc6JRniKBK6t7CzBHBwLpAWivHstg8E/TJ kgKu4zPhA5i5NJhrOLRJpc6bLyiD274vg4Xv/RN9U3WNErzP69fg7q2jmL+L1UzwXxSHIYxO0 wVKWRRmfS90+GguNC3MU7ePVs5ofeoMeDPrOGsSSYTEGe6+5MS2hIM+bos0BMQuAXAnu2AUIi dRI6mO9hFm2G8bOyIsq7DpYg6tV3B5Lt17CsyUpDr1zp+15jWDuwVToPgj009eWcXMAbpbJQO VT5HU+fwp0YXb+0nZIicrP+F22lh3InR7UyI+ZG4Ovlfl32QRm/nNo9qoblzcGrAcFJTeM4Dn 37ZajzWsso9TmVpYcE+SfRMhxfh6tC0mgs1tGq3Tu+nOq09Z7jcByS0H1bEQVPHcbxO1T5/6W vX3a3OGfdH2boMSADGjPs2NjD2h1HLJ2YBidOtNSw5NPWzVkE8rEuFx5Pq0a9Nq5QFfKPnvw X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.17.12 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:242781 Archived-At: > But seriously... what would be the proper way to deal with HiDPI in > Emacs? Has anyone done any work on this? > [...] would it make sense to look for the source of the halved values > returned by FRAME_MENUBAR_HEIGHT(f) et al and multiply these by two in > my case? "Use the source, Luke!" Please ignore my questions. Found xg_get_scale() et al... Working on a proper patch...