i3/libi3
Orestis Floros 7df88f18eb
Sort dock clients by class and instance
This is similar to #3820 but does not use qsort but an insertion sort in
con_attach.

Since each bar block automatically gets its own incremental bar id,
bards end up being sorted according to their definition order in the
config file.

For i3bar, the WM_CLASS is modified to include an instance name which
depends on the bar_id. This could be useful for other reason, e.g. users
targeting a specific bar instance.

Fixes #3491
2020-04-14 20:47:51 +02:00
..
dpi.c
draw_util.c libi3: Make visual_type extern 2020-02-01 17:32:54 +01:00
fake_configure_notify.c
font.c Remove various unused parameters 2019-10-20 16:14:20 +03:00
format_placeholders.c
g_utf8_make_valid.c
get_colorpixel.c clang-format: bring back ForeachMacros (#3948) 2020-02-19 11:31:09 +01:00
get_config_path.c
get_exe_path.c Code style: fix misaligned and trailing whitespaces 2020-02-21 02:06:48 +00:00
get_mod_mask.c
get_process_filename.c
get_visualtype.c
ipc_connect.c
ipc_recv_message.c
ipc_send_message.c
is_debug_build.c
mkdirp.c Use AC_REPLACE_FUNCS 2019-10-13 13:17:40 +03:00
README
resolve_tilde.c
root_atom_contents.c
safewrappers.c Sort dock clients by class and instance 2020-04-14 20:47:51 +02:00
string.c
strndup.c Use AC_REPLACE_FUNCS 2019-10-13 13:17:40 +03:00
ucs2_conversion.c

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.