From: David Hill Date: Sun, 15 Jul 2012 20:08:59 +0000 (-0400) Subject: NoSymbol to XCB_NO_SYMBOL X-Git-Url: https://jasonwoof.com/gitweb/?a=commitdiff_plain;ds=sidebyside;h=404594c487e291270831d1b08f5f30599b53e084;p=spectrwm.git NoSymbol to XCB_NO_SYMBOL --- 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);