]> git.corax.cc Git - mwm/commit
mwm: Add missing command names
authorMatthias Kruk <m@m10k.eu>
Sun, 23 May 2021 21:20:50 +0000 (06:20 +0900)
committerMatthias Kruk <m@m10k.eu>
Sun, 23 May 2021 21:20:50 +0000 (06:20 +0900)
commit8cba254463603755c316b1271c3978198ff33741
tree6ce7a26421c73a248529cb594e37fd602796740b
parentb6d0f15f8fa960064a0b59d3e2fb04ddde11386d
mwm: Add missing command names

The array of command names in mwm_cmd() is incomplete, causing the
window manager to crash if debugging is enabled and a command is
executed whose name is not in the array.
This commit adds the missing names to the array and changes the way
the index is determined so that similar issues will not occur in the
future.
mwm.c