]> git.sur5r.net Git - i3/i3/commit
Extract cairo_clear_surface.
authorIngo Bürk <ingo.buerk@tngtech.com>
Wed, 14 Oct 2015 17:03:05 +0000 (19:03 +0200)
committerIngo Bürk <ingo.buerk@tngtech.com>
Wed, 14 Oct 2015 17:03:05 +0000 (19:03 +0200)
commit46bcc55f6f67cae6c52f2e93e549d803761a8e51
treeb64a64e66082d783713df7e1ad65cad53fac0aee
parent8178910f168c927f1f3b4c94531fd32f38743fb0
Extract cairo_clear_surface.

This commit refactors the i3bar drawing code to also define an abstraction
function for clearing a surface. This is needed to fully abstract i3bar/xcb.c's
drawing code so that we can introduce a switch to easily exchange the
underlying drawing mechanism.
i3bar/include/cairo_util.h
i3bar/src/cairo_util.c
i3bar/src/xcb.c