gri3-wm/libi3
Ingo Bürk b9b1a60b5d Fix segfault when calling "i3 -C".
Commit 287a0b4 introduced a segfault when validating the i3 config
as the root_screen will not be set in this case, causing a null
pointer dereference.

fixes #2144
2016-01-05 22:50:38 -05: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 Refactor extern definition of conn and root_screen 2015-12-29 12:47:12 +01:00
draw_util.c Correct color management for pango fonts 2015-12-29 14:26:21 +01:00
fake_configure_notify.c libi3: change scalloc() signature to match calloc() 2015-08-03 12:50:13 +03:00
font.c Correct color management for pango fonts 2015-12-29 14:26:21 +01:00
format_placeholders.c Move title_format from window to container. 2016-01-05 12:22:27 -05:00
get_colorpixel.c Fix segfault when calling "i3 -C". 2016-01-05 22:50:38 -05: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 Refactor extern definition of conn and root_screen 2015-12-29 12:47:12 +01: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.