switch back to whitelisting modifers (#150)

* Revert "Allow any set of modifiers to be used in keybindings"

this keeps things equal with sxiv while giving users possibility to
customize USED_MODMASK if they wish.

This reverts commit 3234b0e521.

Closes: https://github.com/nsxiv/nsxiv/issues/149
Closes: https://github.com/nsxiv/nsxiv/issues/123

Co-authored-by: Berke Kocaoğlu <berke.kocaoglu@metu.edu.tr>
This commit is contained in:
N-R-K
2021-11-24 17:44:05 +06:00
committed by GitHub
parent 0262988671
commit 4396031233
2 changed files with 4 additions and 4 deletions

2
main.c
View File

@ -36,7 +36,7 @@
#include <X11/keysym.h>
#include <X11/XF86keysym.h>
#define MODMASK(mask) ((mask) & ~ignore_mask)
#define MODMASK(mask) ((mask) & USED_MODMASK)
#define BAR_SEP " "
typedef struct {