1
Fork 0
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:
Po Lu 2022-03-14 21:48:47 +08:00
parent 2f2bb883da
commit a359a9dfd4

View file

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