mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
Fix the no toolkit build
* Activate.c (XMenuActivate): Stop relying on fallthroughs inside switch statement. (bug#54382)
This commit is contained in:
parent
2f2bb883da
commit
a359a9dfd4
1 changed files with 5 additions and 2 deletions
|
|
@ -615,8 +615,8 @@ XMenuActivate(
|
||||||
event.xbutton.window
|
event.xbutton.window
|
||||||
);
|
);
|
||||||
if (event_xmp != NULL) continue;
|
if (event_xmp != NULL) continue;
|
||||||
FALLTHROUGH;
|
|
||||||
default:
|
queue:
|
||||||
/*
|
/*
|
||||||
* This is a foreign event.
|
* This is a foreign event.
|
||||||
* Queue it for later return to the X event queue.
|
* Queue it for later return to the X event queue.
|
||||||
|
|
@ -629,6 +629,9 @@ XMenuActivate(
|
||||||
feq_tmp->event = event;
|
feq_tmp->event = event;
|
||||||
feq_tmp->next = feq;
|
feq_tmp->next = feq;
|
||||||
feq = feq_tmp;
|
feq = feq_tmp;
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
goto queue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue