gri3-wm/libi3
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
..
Makefile Add stub Makefiles to allow subdir make calls 2012-07-22 19:57:48 +02:00
README Introduce libi3, an *internal* library to eliminate code duplication 2011-10-02 16:11:30 +01:00
dpi.c Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
draw_util.c Migrate i3 rendering to cairo. 2015-11-23 22:18:02 +01:00
fake_configure_notify.c libi3: change scalloc() signature to match calloc() 2015-08-03 12:50:13 +03:00
font.c Rename is_markup to pango_markup. 2015-10-13 09:59:26 +02:00
get_colorpixel.c Remove support for 32-bit visuals and RGBA colors. 2015-10-11 00:33:14 +02:00
get_config_path.c Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
get_exe_path.c Use safe wrappers wherever possible 2015-08-03 12:50:50 +03:00
get_mod_mask.c Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
get_process_filename.c Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
get_visualtype.c Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
ipc_connect.c Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
ipc_recv_message.c Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
ipc_send_message.c Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
is_debug_build.c Move is_debug_build() to libi3/ 2012-05-09 19:12:20 +02:00
libi3.mk Repect AR environment variable 2012-12-17 10:24:42 +01:00
mkdirp.c Changes for compiling on Illumos 2015-07-30 07:44:10 -04:00
resolve_tilde.c libi3: change scalloc() signature to match calloc() 2015-08-03 12:50:13 +03:00
root_atom_contents.c Use safe wrappers wherever possible 2015-08-03 12:50:50 +03:00
safewrappers.c libi3: change scalloc() signature to match calloc() 2015-08-03 12:50:13 +03:00
string.c Rename is_markup to pango_markup. 2015-10-13 09:59:26 +02:00
strndup.c Update copyright notices and get rid of ranges 2015-04-20 17:50:21 -04:00
ucs2_conversion.c libi3: change scalloc() signature to match calloc() 2015-08-03 12:50:13 +03:00

README

Introduction
============

libi3 is an *INTERNAL* library which contains functions that i3 and related
tools (i3-msg, i3-input, i3-nagbar, i3-config-wizard, i3bar) use.

It is NOT to be used by other programs.

Structure
=========

Every function gets its own .c file, which in turn gets compiled into an .o
object file. Afterwards, all .o files are archived into one static library
(libi3.a). This library will be linked into all i3 binaries. The linker is able
to eliminate unused .o files when linking, so only the functions which you
actually use will be included in the corresponding binary.