mirror of
https://github.com/mintycube/dwm.git
synced 2024-10-22 14:05:45 +02:00
ipc: get_tags - do not dump tag if the tag is null ref. #123
This commit is contained in:
parent
3bf6eeca75
commit
579f8f892b
@ -5,13 +5,15 @@
|
||||
int
|
||||
dump_tag(yajl_gen gen, const char *name, const int tag_mask)
|
||||
{
|
||||
if (!name)
|
||||
return;
|
||||
|
||||
// clang-format off
|
||||
YMAP(
|
||||
YSTR("bit_mask"); YINT(tag_mask);
|
||||
YSTR("name"); YSTR(name);
|
||||
)
|
||||
// clang-format on
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user