What is libewmh?

libewmh is an xcb wrapper library for ICCCM and EWMH.

Why libewmh?

It is written in C and has libxcb.so as its only dependency. It provides an easy-to-use API for the ICCCM and EWMH protocols.