Re: [i3] Retina/HiDPI: Querying DPI

2014-06-06 Thread Alexander Berntsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 05/06/14 09:49, Michael Stapelberg wrote:
 Hi,
 
 the next release of i3 should behave correctly on Retina/HiDPI 
 displays.
It isn't already? Works fine here. What's wrong? I don't understand
why i3 should care about PPI.

For what it's worth, I've set both xrandr --dpi  Xft.dpi for my X
session.
- -- 
Alexander
alexan...@plaimi.net
https://secure.plaimi.net/~alexander
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iF4EAREIAAYFAlORdU4ACgkQRtClrXBQc7V5fwEAo4JLhH13MuXvDg6IMwS1ARtf
UaznleWMpNEbYp3KJNEBAIFjqz+ez9rUXXEK7m7TjGf4bm//Pgpc0RJkyZa4dxML
=CMTF
-END PGP SIGNATURE-


Re: [i3] Retina/HiDPI: Querying DPI

2014-06-06 Thread Profpatsch
On 14-06-06 10:01am, Alexander Berntsen wrote:
 -BEGIN PGP SIGNED MESSAGE-

On an unrelated note: You can configure PGP so the signature is sent as
attachment instead of inline. Makes a message way easier to read.
Enigmail defaults are kind of broken, sadly, so most people don’t even
know this is possible.

-- 
Proudly written in Mutt with Vim on Archlinux.
Q: Why is this email five sentences or less?
A: http://five.sentenc.es


pgpCf8vFx8AVl.pgp
Description: PGP signature


Re: [i3] Retina/HiDPI: Querying DPI

2014-06-06 Thread Michael Stapelberg
Hi Alexander,

Alexander Berntsen alexan...@plaimi.net writes:
 the next release of i3 should behave correctly on Retina/HiDPI 
 displays.
 It isn't already? Works fine here. What's wrong? I don't understand
 why i3 should care about PPI.
No, it doesn’t work correctly in 4.7.2, the latest stable version:
All pixel values, such as paddings, borders, etc., are designed for
96dpi displays and are not scaled up. E.g., for a 2 px window border,
you need 5 px on a retina display to achieve the same physical width.

I think the effect is very very easy to spot when comparing 4.7.2 with a
build from the “next” branch. Once you restart into the new version,
you’ll see how it just feels right again :).

-- 
Best regards,
Michael


Re: [i3] Retina/HiDPI: Querying DPI

2014-06-06 Thread Alexander Berntsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 06/06/14 13:19, Michael Stapelberg wrote:
 No, it doesn’t work correctly in 4.7.2, the latest stable version: 
 All pixel values, such as paddings, borders, etc., are designed
 for 96dpi displays and are not scaled up. E.g., for a 2 px window
 border, you need 5 px on a retina display to achieve the same
 physical width.
Oh. I use 1px border and have no other decoration from i3, so I did
not consider that.

Doesn't sound like this will be invasive or annoying, so carry on! :-)
- -- 
Alexander
alexan...@plaimi.net
https://secure.plaimi.net/~alexander
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iF4EAREIAAYFAlORpCEACgkQRtClrXBQc7XCXQD/SFT5H4iz3/FGrcYM13BHPNvL
H+VVHlMuBTL60dFmysgA/jRu6Rq9YgqFQnhF7OYWKWn7xfr1Wru1A6dfgwrCOcrn
=iMTs
-END PGP SIGNATURE-