summaryrefslogtreecommitdiff
path: root/clients/resizor.c
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2014-03-13 12:06:00 -0400
committerKristian Høgsberg <krh@bitplanet.net>2014-05-18 13:54:15 -0700
commitdda9313bd99005cfc182af77fbc52b448a3803fa (patch)
treed771bfd494ca6981a548a4263b4a1d709fc2e7f1 /clients/resizor.c
parentbe803ad67cf84cd6997155b0283fbb474747e7a2 (diff)
downloadweston-dda9313bd99005cfc182af77fbc52b448a3803fa.tar.gz
weston-dda9313bd99005cfc182af77fbc52b448a3803fa.tar.bz2
weston-dda9313bd99005cfc182af77fbc52b448a3803fa.zip
clients: Remove the window / user parameters from the menu function
We want the ability to create a detached menu.
Diffstat (limited to 'clients/resizor.c')
-rw-r--r--clients/resizor.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/clients/resizor.c b/clients/resizor.c
index 029042fd..19c6eeb3 100644
--- a/clients/resizor.c
+++ b/clients/resizor.c
@@ -200,8 +200,7 @@ key_handler(struct window *window, struct input *input, uint32_t time,
}
static void
-menu_func(struct window *window,
- struct input *input, int index, void *user_data)
+menu_func(void *data, struct input *input, int index)
{
fprintf(stderr, "picked entry %d\n", index);
}