Fix window icon not working on X11 with 64bits

Apparently on X11 the maximum icon size is 128x128. 256x256 is too
large for the X11 protocol because the X server unserializes the icons
using "unsigned long" which is 64 bits on Linux. So we have to use
64bits per pixel instead of 32, with 32bits padded to 0.

While there I also got rid of the kitty.rgba file replacing it with a
128x128 PNG file.

Fixes #3260
This commit is contained in:
Kovid Goyal
2021-01-25 20:51:34 +05:30
parent 6e73d3fac8
commit 5a2f2767ad
10 changed files with 28 additions and 19 deletions

View File

@@ -44,6 +44,8 @@ To update |kitty|, :doc:`follow the instructions <binary>`.
- Fix extra space at bottom of OS window when using the fat layout with the tab bar at the
top (:iss:`3258`)
- Fix window icon not working on X11 with 64bits (:iss:`3260`)
0.19.3 [2020-12-19]
-------------------