gri3-wm/i3bar
Ingo Bürk b665049883 Migrate i3 rendering to cairo.
This patch migrates all decoration rendering of i3 to cairo. Using the
compile switch CAIRO_SUPPORT, rendering can be switched back to the
previous XCB behavior, just like with the previous migration to cairo
in i3bar.

This patch also fixes a bug in draw_util.c where copying one surface
to another would use incorrect coordinates if the source coordinates
are not 0, 0.

Furthermore, this patch implicitly fixes some minor issues in the
decoration rendering which would be ignored previously due to the fact
that errors would only show up in the event queue, but not cause the
rendering code path to crash. One example is zero-height pixmaps which
are not allowed. Using cairo, these would cause i3 to instantly segfault,
so this patch avoids this.

Lastly, this patch annotates other issues found but not fixed in this patch
using TODO comments, e.g., the zero-height check not working correctly
and the comment that it should probably work the same way for zero-width
pixmaps.

relates to #1278
2015-11-23 22:18:02 +01:00
..
include Move draw_util.c to libi3. 2015-11-23 22:18:02 +01:00
src Migrate i3 rendering to cairo. 2015-11-23 22:18:02 +01:00
.gitignore Mention the color-options in the manpage 2010-11-04 12:43:41 +01:00
CHANGELOG Update changelog and copyright, bump version and more 2011-07-31 16:16:17 +02:00
LICENSE Update changelog and copyright, bump version and more 2011-07-31 16:16:17 +02:00
Makefile Add stub Makefiles to allow subdir make calls 2012-07-22 19:57:48 +02:00
i3bar.mk Respect EXEC_PREFIX and a users' choice of PKG_CONFIG. 2015-04-12 17:59:30 -07:00