xwm: make atom_map static

This commit is contained in:
Kirill Primak 2023-03-09 10:53:09 +03:00 committed by Isaac Freund
parent 9ac94516b8
commit ad51983b23
2 changed files with 1 additions and 3 deletions

View File

@ -91,8 +91,6 @@ enum atom_name {
ATOM_LAST // keep last
};
extern const char *const atom_map[ATOM_LAST];
struct wlr_xwm {
struct wlr_xwayland *xwayland;
struct wl_event_source *event_source;

View File

@ -19,7 +19,7 @@
#include <xcb/xfixes.h>
#include "xwayland/xwm.h"
const char *const atom_map[ATOM_LAST] = {
static const char *const atom_map[ATOM_LAST] = {
[WL_SURFACE_ID] = "WL_SURFACE_ID",
[WL_SURFACE_SERIAL] = "WL_SURFACE_SERIAL",
[WM_DELETE_WINDOW] = "WM_DELETE_WINDOW",