xwayland/xwm: constify needles

This commit is contained in:
Kirill Primak 2022-12-18 13:55:39 +03:00
parent dc7cc98cf2
commit 1cd53f54b7

View file

@ -2221,7 +2221,7 @@ void wlr_xwayland_surface_ping(struct wlr_xwayland_surface *surface) {
bool wlr_xwayland_or_surface_wants_focus(
const struct wlr_xwayland_surface *xsurface) {
static enum atom_name needles[] = {
static const enum atom_name needles[] = {
NET_WM_WINDOW_TYPE_COMBO,
NET_WM_WINDOW_TYPE_DND,
NET_WM_WINDOW_TYPE_DROPDOWN_MENU,