mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 08:36:01 +01:00
ignoring MOD5, which is used in some keyboard layouts
Signed-off-by: Sebastian Ramacher <s.ramacher@gmx.at>
This commit is contained in:
parent
66fa0f5648
commit
53c8420f8a
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@
|
|||
|
||||
/* macros */
|
||||
#define LENGTH(x) (sizeof(x)/sizeof((x)[0]))
|
||||
#define CLEAN(m) (m & ~(GDK_MOD2_MASK) & ~(GDK_BUTTON1_MASK) & ~(GDK_BUTTON2_MASK) & ~(GDK_BUTTON3_MASK) & ~(GDK_BUTTON4_MASK) & ~(GDK_BUTTON5_MASK) & ~(GDK_LEAVE_NOTIFY_MASK))
|
||||
#define CLEAN(m) (m & ~(GDK_MOD5_MASK) & ~(GDK_MOD2_MASK) & ~(GDK_BUTTON1_MASK) & ~(GDK_BUTTON2_MASK) & ~(GDK_BUTTON3_MASK) & ~(GDK_BUTTON4_MASK) & ~(GDK_BUTTON5_MASK) & ~(GDK_LEAVE_NOTIFY_MASK))
|
||||
#if defined(__GNUC__) || defined(__INTEL_COMPILER) || defined(__ICL) || defined(__ICC) || defined(__ECC) || defined(__clang__)
|
||||
/* only gcc, clang and Intel's cc seem support this */
|
||||
#define NORETURN __attribute__((noreturn))
|
||||
|
|
Loading…
Reference in a new issue