summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7458e7d)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
the terminating 0 */
break;
case XA_ATOM:
the terminating 0 */
break;
case XA_ATOM:
- printf("\"%s\"", XGetAtomName(dpy, *(Atom*)ptr));
+ {
+ Atom a = *(Atom*)ptr;
+ printf("\"%s\" (%d)",
+ (a) ? XGetAtomName(dpy, a) : "None",
+ (int)a);
+ break;
+ }
break;
default:
if (float_atom != None && act_type == float_atom)
break;
default:
if (float_atom != None && act_type == float_atom)