From 7b20db7397cd28fa8df734b6883e7e46a3c0ce46 Mon Sep 17 00:00:00 2001 From: speediegq Date: Sun, 11 Sep 2022 00:51:27 +0200 Subject: [PATCH] Implement: https://git.suckless.org/dwm/commit/84d7322113c2bf023f5eaa8537fb0e72d4105046.html --- keybinds.h | 2 +- mouse.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/keybinds.h b/keybinds.h index 8d7ae73..8a963cf 100644 --- a/keybinds.h +++ b/keybinds.h @@ -18,7 +18,7 @@ * Once you're done with your edits, run 'make clean install'. */ -static Key keys[] = { +static const Key keys[] = { /* modifier chain key key function argument */ /* Application keybinds */ diff --git a/mouse.h b/mouse.h index 31fe54f..a98d012 100644 --- a/mouse.h +++ b/mouse.h @@ -8,7 +8,7 @@ */ /* Actions when the mouse clicks a part of the screen */ -static Button buttons[] = { +static const Button buttons[] = { /* click event mask button function argument */ { ClkLtSymbol, 0, Button3, layoutmenu, {0} }, { ClkLtSymbol, 0, Button1, cyclelayout, {.i = +1 } },