wayland: frame: fix window title being too high on HiDPI screens

This commit is contained in:
Greg V authored and Wez Furlong committed 2021-10-23 22:06:04 -07:00
1 parent 6fbb8802c0
commit a90e6dde75
1 file changed
+1 -1
+1 -1
View File
@@ -862,7 +862,7 @@ impl Frame for ConceptFrame {
pixmap.draw_pixmap(
(x + item.info.x_offset.get() + item.glyph.bearing_x.get())
as i32,
(HEADER_SIZE * 3 / 4) as i32
(scaled_header_height * 3 / 4) as i32
+ (shaped.metrics.descender
- (item.info.y_offset + item.glyph.bearing_y))
.get() as i32,