aboutsummaryrefslogtreecommitdiffstats
path: root/xevents.c
diff options
context:
space:
mode:
authoroga2009-01-23 18:58:40 +0000
committeroga2009-01-23 18:58:40 +0000
commitf766a2baaec283eabcfa26f0c60e9a596b43459d (patch)
treeaf0bf5a5d5b494570033e062255fb8d34be055dc /xevents.c
parent4b2cd3a9e6fb79dc8497bc499aea252775e9029c (diff)
downloadcwm-f766a2baaec283eabcfa26f0c60e9a596b43459d.tar.gz
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xevents.c b/xevents.c
index d1a34d4..3e8a336 100644
--- a/xevents.c
+++ b/xevents.c
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $Id: xevents.c,v 1.37 2009/01/22 19:01:56 okan Exp $
+ * $Id: xevents.c,v 1.38 2009/01/23 18:58:40 oga Exp $
*/
/*
@@ -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);