add key modifiers to button event

This commit is contained in:
Cedric Roux
2016-05-19 15:28:28 +02:00
parent 262ab7090c
commit 4511fe7778
10 changed files with 39 additions and 19 deletions
+2 -1
View File
@@ -44,7 +44,8 @@ static void allocate(
LOGD("ALLOCATE textlist %p xywh %d %d %d %d nlines %d\n", this, x, y, width, height, this->allocated_nlines);
}
static void button(gui *_g, widget *_this, int x, int y, int button, int up)
static void button(gui *_g, widget *_this, int x, int y,
int key_modifiers, int button, int up)
{
struct gui *g = _g;
struct textlist_widget *this = _this;