mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-05 22:20:24 -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
|
||||
);
|
||||
if (event_xmp != NULL) continue;
|
||||
FALLTHROUGH;
|
||||
default:
|
||||
|
||||
queue:
|
||||
/*
|
||||
* This is a foreign event.
|
||||
* Queue it for later return to the X event queue.
|
||||
|
|
@ -629,6 +629,9 @@ XMenuActivate(
|
|||
feq_tmp->event = event;
|
||||
feq_tmp->next = feq;
|
||||
feq = feq_tmp;
|
||||
break;
|
||||
default:
|
||||
goto queue;
|
||||
}
|
||||
}
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue