diff options
author | Jasper St. Pierre <jstpierre@mecheye.net> | 2014-03-13 12:06:00 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2014-05-18 13:54:15 -0700 |
commit | dda9313bd99005cfc182af77fbc52b448a3803fa (patch) | |
tree | d771bfd494ca6981a548a4263b4a1d709fc2e7f1 /clients/resizor.c | |
parent | be803ad67cf84cd6997155b0283fbb474747e7a2 (diff) | |
download | weston-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.c | 3 |
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); } |