]> Dogcows Code - chaz/openbox/commitdiff
double deref, props to 'mmj' for spotting this
authorDana Jansens <danakj@orodu.net>
Wed, 27 Aug 2003 05:20:27 +0000 (05:20 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 27 Aug 2003 05:20:27 +0000 (05:20 +0000)
openbox/event.c

index 8c64052275ece34e21983f25d764f5adde59858a..b1a70dd4b6e4196b06ded579de5e922d44f59c04 100644 (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;
            }
This page took 0.025175 seconds and 4 git commands to generate.