aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authormiseran <miseran@users.noreply.github.com>2021-10-12 01:46:35 +0200
committerGitHub <noreply@github.com>2021-10-11 23:46:35 +0000
commitcd710f583f5ab8650fa2e41c08dc9a6332a5680f (patch)
treea9374a9dcfcc21500bdaf6dc4765ec5339243275 /examples
parent1449bfc5e960a61438c60a67c28da6d7c5bf2c7f (diff)
Fix behaviour when TrueColor / 24 bit depth is not available (#114)
* Fix regression introduced in c7ca547 which made nsxiv not start in non-TrueColor X server. * Introduce a new fix for embedding into tabbed-alpha. * Fixes a visual glitch from original sxiv when drawing transparent images in 8 bit depth. In 8 bit PseudoColor, `.pixel` is just an index into the 256 defined colors and thus trying to extract rgb bits from it would result in visual glitch. The values `.color.red` on the other hand and so on are always integers between 0 and 0xFFFF representing the color as expected. * Use XColor for win_bg/fg and mrk_fg Co-authored-by: NRK <nrk@disroot.org>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions