From 8173509e90ab97f60af6a81e955df82b3c2157a0 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 27 Aug 2003 05:20:27 +0000 Subject: [PATCH] double deref, props to 'mmj' for spotting this --- openbox/event.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openbox/event.c b/openbox/event.c index 8c640522..b1a70dd4 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -210,9 +210,9 @@ static Window event_get_window(XEvent *e) default: #ifdef XKB if (extensions_xkb && e->type == extensions_xkb_event_basep) { - switch (((XkbAnyEvent*)&e)->xkb_type) { + switch (((XkbAnyEvent*)e)->xkb_type) { case XkbBellNotify: - window = ((XkbBellNotifyEvent*)&e)->window; + window = ((XkbBellNotifyEvent*)e)->window; default: window = None; } -- 2.45.2