]> git.sur5r.net Git - i3/i3/commit
Introduce switch for the drawing backend 1990/head
authorIngo Bürk <ingo.buerk@tngtech.com>
Wed, 14 Oct 2015 18:49:52 +0000 (20:49 +0200)
committerIngo Bürk <ingo.buerk@tngtech.com>
Wed, 14 Oct 2015 19:12:33 +0000 (21:12 +0200)
commit02468296c42cf3d0fd972596f4ebeebc8f37741a
treec28d2a53278cb4828b60f7dd5daeb0f62c416bf4
parent46bcc55f6f67cae6c52f2e93e549d803761a8e51
Introduce switch for the drawing backend

This commit restores the old XCB drawing code paths while keeping the
cairo drawing available via a compile-time switch (I3BAR_CAIRO). This
is necessary as cairo currently has a bug that breaks i3bar for users
without the RENDER extension, which might be the case, e.g., for VNC
users.

For more context, see #1989 and the discussions about its fix. Once the
cairo fix is available in a stable release, i3 can depend on that version
and remove the XCB drawing code paths.

fixes #1989
i3bar/include/cairo_util.h [deleted file]
i3bar/include/common.h
i3bar/include/draw_util.h [new file with mode: 0644]
i3bar/include/outputs.h
i3bar/src/cairo_util.c [deleted file]
i3bar/src/draw_util.c [new file with mode: 0644]
i3bar/src/xcb.c
libi3/font.c