|
From: | Carlos Pita |
Subject: | bug#37689: Fringe pixmaps, widgets, etc. look ridiculously tiny in hidpi screen |
Date: | Fri, 11 Oct 2019 00:48:02 -0300 |
If you accept to recompute the pixmap on-the-fly each time it's demanded, then fringe.c: static struct fringe_bitmap *get_fringe_bitmap_data (int bn) seems like a good place to do the transformation above. In order to avoid rescaling it each time, the pixmap structure could contain an extra field with its scaling factor (initially 1) that is updated after the first rescaling so that get_fringe_bitmap_data knows (by comparing this number to the system scaling factor) that it's not necessary to rescale the pixmap afterwards.
[Prev in Thread] | Current Thread | [Next in Thread] |