]> icculus.org git repositories - mikachu/openbox.git/commit
Use PANGO_UNDERLINE_SINGLE for rendering shortcuts
authorMikael Magnusson <mikachu@gmail.com>
Tue, 28 Oct 2014 02:44:28 +0000 (03:44 +0100)
committerMikael Magnusson <mikachu@gmail.com>
Tue, 28 Oct 2014 03:14:24 +0000 (04:14 +0100)
commit396198081e72d6d758d51d4c6cdda1105be0df2d
tree5135b5dcf0c11f9855a360b9f6692d503c0f2824
parentd6797e53b429dbadd9a9f145731a5f90145bce83
Use PANGO_UNDERLINE_SINGLE for rendering shortcuts

The pango docs say to use _LOW for accelerators, but that causes the line
to be drawn beneath the ink extents which for us may be outside the area
that gets displayed and we end up with no line at all. We also don't want
to extend every menu entry with enough space to fit this possible line.
obrender/font.c