mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-22 09:59:48 +01:00
xwm: make atom_map static
This commit is contained in:
parent
9ac94516b8
commit
ad51983b23
2 changed files with 1 additions and 3 deletions
|
@ -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 a new issue