diff options
Diffstat (limited to 'src/tk/grid.c')
-rw-r--r-- | src/tk/grid.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tk/grid.c b/src/tk/grid.c index 67fa677..de6d430 100644 --- a/src/tk/grid.c +++ b/src/tk/grid.c @@ -102,7 +102,8 @@ _mftk_grid_event(struct mftk_widget *w, SDL_Event *e, int x, int y) if (SDL_PointInRect(&p, &rect) == SDL_TRUE) { return mftk_widget_event(child, - e, x, y); + e, + rect.x, rect.y); } } } |