mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-25 08:32:30 +00:00
xwm: make atom_map static
This commit is contained in:
parent
9ac94516b8
commit
ad51983b23
@ -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;
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user