double deref, props to 'mmj' for spotting this

This commit is contained in:
Dana Jansens 2003-08-27 05:20:27 +00:00
parent fdfaa0c8dd
commit 8173509e90

View file

@ -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;
}