Remove unused function arguments. (#2635)
The connection is no longer necessary since the non-cairo paths have been removed.
This commit is contained in:
committed by
Michael Stapelberg
parent
33d6a4e829
commit
e0582aa5eb
@ -244,8 +244,8 @@ static void sighandler_draw_dialog(dialog_t *dialog) {
|
||||
const color_t red = draw_util_hex_to_color("#FF0000");
|
||||
|
||||
/* Start with a clean slate and draw a red border. */
|
||||
draw_util_clear_surface(conn, &(dialog->surface), red);
|
||||
draw_util_rectangle(conn, &(dialog->surface), black, border_width, border_width,
|
||||
draw_util_clear_surface(&(dialog->surface), red);
|
||||
draw_util_rectangle(&(dialog->surface), black, border_width, border_width,
|
||||
dialog->dims.width - 2 * border_width, dialog->dims.height - 2 * border_width);
|
||||
|
||||
int y = border_width + margin;
|
||||
|
Reference in New Issue
Block a user