Commit f66edd57 authored by Jehan's avatar Jehan

Validity tests of keysym changed by comparison of NoSymbol instead of None...

Validity tests of keysym changed by comparison of NoSymbol instead of None (logical/definition reason because both have same implementation in X of 0L)
parent 630cb265
......@@ -314,11 +314,11 @@ typedef struct {
#undef NOT_KEYSYM
#undef UNSET_KEYSYM
#define IS_KEYSYM(KEYSYM_ID) \
(None != (KEYSYM_ID))
(NoSymbol != (KEYSYM_ID))
#define NOT_KEYSYM(KEYSYM_ID) \
(None == (KEYSYM_ID))
(NoSymbol == (KEYSYM_ID))
#define UNSET_KEYSYM(KEYSYM_ID) \
((KEYSYM_ID) = None)
((KEYSYM_ID) = NoSymbol)
#ifndef HAVE_XPOINTER
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment