From 4ef8af17ee62f4e99f8d71ccfec5f264f5851db9 Mon Sep 17 00:00:00 2001 From: Stacy Harper Date: Wed, 25 Aug 2021 21:43:21 +0200 Subject: Rename var name --- keyboard.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'keyboard.h') diff --git a/keyboard.h b/keyboard.h index ce5b0e2..a8e5c69 100644 --- a/keyboard.h +++ b/keyboard.h @@ -89,7 +89,7 @@ struct kbd { struct zwp_virtual_keyboard_v1 *vkbd; }; -static inline void draw_inset(struct drwsurf *d, uint32_t x, uint32_t y, +static inline void draw_inset(struct drwsurf *ds, uint32_t x, uint32_t y, uint32_t width, uint32_t height, uint32_t border, Color color); @@ -444,8 +444,8 @@ kbd_resize(struct kbd *kb, struct layout *layouts, uint8_t layoutcount) { } void -draw_inset(struct drwsurf *d, uint32_t x, uint32_t y, uint32_t width, +draw_inset(struct drwsurf *ds, uint32_t x, uint32_t y, uint32_t width, uint32_t height, uint32_t border, Color color) { - drw_fill_rectangle(d, color, x + border, y + border, width - border, + drw_fill_rectangle(ds, color, x + border, y + border, width - border, height - border); } -- cgit 1.4.1