commit | dda9313bd99005cfc182af77fbc52b448a3803fa | [log] [tgz] |
---|---|---|
author | Jasper St. Pierre <jstpierre@mecheye.net> | Thu Mar 13 12:06:00 2014 -0400 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Sun May 18 13:54:15 2014 -0700 |
tree | d771bfd494ca6981a548a4263b4a1d709fc2e7f1 | |
parent | be803ad67cf84cd6997155b0283fbb474747e7a2 [diff] [blame] |
clients: Remove the window / user parameters from the menu function We want the ability to create a detached menu.
diff --git a/clients/resizor.c b/clients/resizor.c index 029042f..19c6eeb 100644 --- a/clients/resizor.c +++ b/clients/resizor.c
@@ -200,8 +200,7 @@ } 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); }