aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Primak <vyivel@eclair.cafe>2022-12-18 13:55:39 +0300
committerKirill Primak <vyivel@eclair.cafe>2022-12-18 13:55:39 +0300
commit1cd53f54b77a1b54edf51fb13e3fb26d27c48538 (patch)
tree16ba2fedeba309e9b3873ab293b2ec037cbd62c1
parentdc7cc98cf21a8dc19ab8895505500e3700646af0 (diff)
xwayland/xwm: constify needles
-rw-r--r--xwayland/xwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xwayland/xwm.c b/xwayland/xwm.c
index 59773c6c..b03e0b96 100644
--- a/xwayland/xwm.c
+++ b/xwayland/xwm.c
@@ -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,