diff options
author | oga <oga> | 2009-01-23 18:58:40 +0000 |
---|---|---|
committer | oga <oga> | 2009-01-23 18:58:40 +0000 |
commit | 779177a53d2d0c9a02905a43f250f4ae08cb1dff (patch) | |
tree | 99fae4ece379034da322706e728ab238445e54c8 /xevents.c | |
parent | 87964e5c7e4cfa96f34187a993d10cc5ec37e881 (diff) | |
download | cwm-779177a53d2d0c9a02905a43f250f4ae08cb1dff.tar.gz cwm-779177a53d2d0c9a02905a43f250f4ae08cb1dff.tar.xz cwm-779177a53d2d0c9a02905a43f250f4ae08cb1dff.zip |
Move the keybinding argument to a union to prevent warnings where
sizeof(int) != sizeof(void *). This has been annoying me for ages. ok okan@, todd@
Diffstat (limited to 'xevents.c')
-rw-r--r-- | xevents.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xevents.c b/xevents.c index 788086e..0b063ae 100644 --- a/xevents.c +++ b/xevents.c @@ -294,7 +294,7 @@ xev_handle_keypress(struct xevent *xev, XEvent *ee) if (kb->flags & KBFLAG_NEEDCLIENT) goto out; - (*kb->callback)(cc, kb->argument); + (*kb->callback)(cc, &kb->argument); out: xev_register(xev); |