[hackers] [tabbed] config.h: mark keys as const || NRK

From: <git_AT_suckless.org>
Date: Wed, 5 Oct 2022 17:53:51 +0200 (CEST)

commit 5ddbc73bb885cc140a19e2a2e338f3b1b89b2263
Author: NRK <nrk_AT_disroot.org>
AuthorDate: Wed Oct 5 14:29:36 2022 +0600
Commit: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
CommitDate: Wed Oct 5 17:54:36 2022 +0200

    config.h: mark keys as const

diff --git a/config.def.h b/config.def.h
index defa426..51bb13d 100644
--- a/config.def.h
+++ b/config.def.h
_AT_@ -34,7 +34,7 @@ static Bool npisrelative = False;
 }
 
 #define MODKEY ControlMask
-static Key keys[] = {
+static const Key keys[] = {
         /* modifier key function argument */
         { MODKEY|ShiftMask, XK_Return, focusonce, { 0 } },
         { MODKEY|ShiftMask, XK_Return, spawn, { 0 } },
Received on Wed Oct 05 2022 - 17:53:51 CEST

This archive was generated by hypermail 2.3.0 : Wed Oct 05 2022 - 18:00:40 CEST