mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-22 18:09:49 +01:00
xwayland/xwm: make atom_map const
This commit is contained in:
parent
b86eea0897
commit
79be26ff1f
2 changed files with 2 additions and 2 deletions
|
@ -86,7 +86,7 @@ enum atom_name {
|
|||
ATOM_LAST // keep last
|
||||
};
|
||||
|
||||
extern const char *atom_map[ATOM_LAST];
|
||||
extern const char *const atom_map[ATOM_LAST];
|
||||
|
||||
struct wlr_xwm {
|
||||
struct wlr_xwayland *xwayland;
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
#include "util/signal.h"
|
||||
#include "xwayland/xwm.h"
|
||||
|
||||
const char *atom_map[ATOM_LAST] = {
|
||||
const char *const atom_map[ATOM_LAST] = {
|
||||
[WL_SURFACE_ID] = "WL_SURFACE_ID",
|
||||
[WM_DELETE_WINDOW] = "WM_DELETE_WINDOW",
|
||||
[WM_PROTOCOLS] = "WM_PROTOCOLS",
|
||||
|
|
Loading…
Reference in a new issue