mirror of https://github.com/i3/i3lock.git
Fixed check style break
parent
3badd57731
commit
a3cfefaed8
|
@ -309,7 +309,6 @@ xcb_pixmap_t draw_image(uint32_t *resolution) {
|
|||
cairo_text_extents_t extents;
|
||||
double x, y;
|
||||
cairo_set_font_size(ctx, 32.0);
|
||||
|
||||
cairo_text_extents(ctx, pwd_placeholder, &extents);
|
||||
x = BUTTON_CENTER - ((extents.width / 2) + extents.x_bearing);
|
||||
y = BUTTON_CENTER - ((extents.height / 2) + extents.y_bearing) + BUTTON_RADIUS * 2;
|
||||
|
|
Loading…
Reference in New Issue