summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rw-r--r--src/sxwm.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 2a98146..b1f2299 100644
--- a/README.md
+++ b/README.md
@@ -244,7 +244,7 @@ sudo emaint -a sync
<details>
<summary>Void Linux</summary>
<pre><code>sudo xbps-install -S
-sudo xbps-install libX11-devel libXinerama-devel gcc make</code></pre>
+sudo xbps-install libX11-devel libXinerama-devel libXcursor-devel gcc make</code></pre>
</details>
<details>
diff --git a/src/sxwm.c b/src/sxwm.c
index 6ed33c0..57be734 100644
--- a/src/sxwm.c
+++ b/src/sxwm.c
@@ -2783,10 +2783,10 @@ void update_modifier_masks(void)
/* keycode at mod[i][j] */
KeyCode keycode = mod_mapping->modifiermap[i * mod_mapping->max_keypermod + j];
if (keycode == num) {
- numlock_mask = (1 << i); /* which mod bit == NumLock key */
+ numlock_mask = (1u << i); /* which mod bit == NumLock key */
}
if (keycode == mode) {
- mode_switch_mask = (1 << i); /* which mod bit == Mode_switch key */
+ mode_switch_mask = (1u << i); /* which mod bit == Mode_switch key */
}
}
}