summaryrefslogtreecommitdiffstats
path: root/src/tk/label.c
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2021-08-04 20:17:59 (EDT)
committer P. J. McDermott <pj@pehjota.net>2021-08-04 20:17:59 (EDT)
commitddf513909ce1742021b9c57ea7279a61aeda4899 (patch)
tree63ef4993cdaea7da22255078cfa7858660307e01 /src/tk/label.c
parent072f42236fb0d2509608a3ad345df2c5cf71f8dd (diff)
downloadmazefight-ddf513909ce1742021b9c57ea7279a61aeda4899.zip
mazefight-ddf513909ce1742021b9c57ea7279a61aeda4899.tar.gz
mazefight-ddf513909ce1742021b9c57ea7279a61aeda4899.tar.bz2
tk: Implement mouse button up event
Diffstat (limited to 'src/tk/label.c')
-rw-r--r--src/tk/label.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tk/label.c b/src/tk/label.c
index ec4400a..1fcfd84 100644
--- a/src/tk/label.c
+++ b/src/tk/label.c
@@ -37,7 +37,9 @@ _mftk_label_layout(struct mftk_widget *w __attribute__((__unused__)))
static int
_mftk_label_event(struct mftk_widget *w __attribute__((__unused__)),
- SDL_Event *e __attribute__((__unused__)))
+ SDL_Event *e __attribute__((__unused__)),
+ int x __attribute__((__unused__)),
+ int y __attribute__((__unused__)))
{
/* No events */
return 0;