X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=spectrwm.c;h=29849f5bc04237d763e5e44ee4cac54a9d4ad56d;hb=404594c487e291270831d1b08f5f30599b53e084;hp=7749d4f268e44206d0f6e96c35c90e1d03d87ee4;hpb=82b752a3ea1c6c9b231156e027d2096a6885453e;p=spectrwm.git diff --git a/spectrwm.c b/spectrwm.c index 7749d4f..29849f5 100644 --- a/spectrwm.c +++ b/spectrwm.c @@ -5116,7 +5116,7 @@ parsekeys(char *keystr, unsigned int currmod, unsigned int *mod, KeySym *ks) return (1); } cp = keystr; - *ks = NoSymbol; + *ks = XCB_NO_SYMBOL; *mod = 0; while ((name = strsep(&cp, SWM_KEY_WS)) != NULL) { DNPRINTF(SWM_D_KEY, "parsekeys: key [%s]\n", name); @@ -5139,7 +5139,7 @@ parsekeys(char *keystr, unsigned int currmod, unsigned int *mod, KeySym *ks) else { *ks = XStringToKeysym(name); XConvertCase(*ks, ks, &uks); - if (ks == NoSymbol) { + if (ks == XCB_NO_SYMBOL) { DNPRINTF(SWM_D_KEY, "parsekeys: invalid key %s\n", name);