double deref, props to 'mmj' for spotting this
This commit is contained in:
parent
fdfaa0c8dd
commit
8173509e90
1 changed files with 2 additions and 2 deletions
|
@ -210,9 +210,9 @@ static Window event_get_window(XEvent *e)
|
||||||
default:
|
default:
|
||||||
#ifdef XKB
|
#ifdef XKB
|
||||||
if (extensions_xkb && e->type == extensions_xkb_event_basep) {
|
if (extensions_xkb && e->type == extensions_xkb_event_basep) {
|
||||||
switch (((XkbAnyEvent*)&e)->xkb_type) {
|
switch (((XkbAnyEvent*)e)->xkb_type) {
|
||||||
case XkbBellNotify:
|
case XkbBellNotify:
|
||||||
window = ((XkbBellNotifyEvent*)&e)->window;
|
window = ((XkbBellNotifyEvent*)e)->window;
|
||||||
default:
|
default:
|
||||||
window = None;
|
window = None;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue