gri3-wm/i3bar/src
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
..
child.c Added background and border keys to the i3bar protocol. 2015-10-22 16:11:08 +02:00
config.c Allow multiple tray_output directives. 2015-11-01 16:35:17 -05:00
ipc.c Use separate buffers for i3bar statusline for each workspace, track short and long renders separately, fixes #1824 2015-10-26 16:15:01 -04:00
main.c Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
mode.c Use sasprintf() instead of alloc'ing and strncpy() in i3bar. 2015-10-17 22:14:48 +02:00
outputs.c Optionally change i3bar color on focused output, implements #2020 2015-10-27 09:12:57 -04:00
parse_json_header.c Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
workspaces.c Use sasprintf() instead of alloc'ing and strncpy() in i3bar. 2015-10-17 22:14:48 +02:00
xcb.c Migrate i3 rendering to cairo. 2015-11-23 22:18:02 +01:00