mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 12:55:58 +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
|
ATOM_LAST // keep last
|
||||||
};
|
};
|
||||||
|
|
||||||
extern const char *const atom_map[ATOM_LAST];
|
|
||||||
|
|
||||||
struct wlr_xwm {
|
struct wlr_xwm {
|
||||||
struct wlr_xwayland *xwayland;
|
struct wlr_xwayland *xwayland;
|
||||||
struct wl_event_source *event_source;
|
struct wl_event_source *event_source;
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
#include <xcb/xfixes.h>
|
#include <xcb/xfixes.h>
|
||||||
#include "xwayland/xwm.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_ID] = "WL_SURFACE_ID",
|
||||||
[WL_SURFACE_SERIAL] = "WL_SURFACE_SERIAL",
|
[WL_SURFACE_SERIAL] = "WL_SURFACE_SERIAL",
|
||||||
[WM_DELETE_WINDOW] = "WM_DELETE_WINDOW",
|
[WM_DELETE_WINDOW] = "WM_DELETE_WINDOW",
|
||||||
|
|
Loading…
Reference in a new issue