wvkbd

git clone https://git.tarina.org/wvkbd
Log | Files | Refs | README | LICENSE

commit 283a7589100c004d8ffbbbdb42bcd045747c2cda
parent 32cf611c9c90657bd3b2f92cde4128a6d8156513
Author: Stacy Harper <contact@stacyharper.net>
Date:   Wed, 25 Aug 2021 21:43:21 +0200

Rename var name

Diffstat:
Mkeyboard.h | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 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); }