i3/libi3
Orestis Floros f169624560
clang-format: enable InsertBraces (#5882)
Enforces a rule that we have followed for years now. Yes, the diff is
quite big but we get it over with once and we prevent having to nit-pick
future PRs.
2024-01-27 11:37:05 +01:00
..
boolstr.c Implement showing window icons in titlebar (#4439) 2021-06-13 08:35:52 +02:00
create_socket.c Fix compilation error on debian 2021-11-04 19:27:40 +01:00
dpi.c clang-format: enable InsertBraces (#5882) 2024-01-27 11:37:05 +01:00
draw_util.c clang-format: enable InsertBraces (#5882) 2024-01-27 11:37:05 +01:00
fake_configure_notify.c Remove unused headers 2020-04-20 04:25:06 +02:00
font.c clang-format: enable InsertBraces (#5882) 2024-01-27 11:37:05 +01:00
format_placeholders.c clang-format: enable InsertBraces (#5882) 2024-01-27 11:37:05 +01:00
g_utf8_make_valid.c Sort includes in *.c files 2020-04-19 09:58:25 +02:00
get_colorpixel.c clang-format: enable InsertBraces (#5882) 2024-01-27 11:37:05 +01:00
get_config_path.c move set_nonblock, create_socket and path_exists to libi3 2021-01-20 21:40:24 +01:00
get_exe_path.c clang-format: enable InsertBraces (#5882) 2024-01-27 11:37:05 +01:00
get_mod_mask.c clang-format: enable InsertBraces (#5882) 2024-01-27 11:37:05 +01:00
get_process_filename.c Use mkdirp() in get_process_filename() (#4397) 2021-07-05 17:21:21 +02:00
get_visualtype.c clang-format: enable InsertBraces (#5882) 2024-01-27 11:37:05 +01:00
ipc_connect.c clang-format: enable InsertBraces (#5882) 2024-01-27 11:37:05 +01:00
ipc_recv_message.c clang-format: enable InsertBraces (#5882) 2024-01-27 11:37:05 +01:00
ipc_send_message.c clang-format: enable InsertBraces (#5882) 2024-01-27 11:37:05 +01:00
is_background_set.c Do not "set" the wallpaper during startup (#4373) 2021-05-20 21:37:35 +02:00
is_debug_build.c add meson build files (#4094) 2020-05-19 14:45:06 +02:00
mkdirp.c clang-format: enable InsertBraces (#5882) 2024-01-27 11:37:05 +01:00
nonblock.c i3-dump-log -f: switch from pthreads to UNIX sockets 2021-01-20 21:40:24 +01:00
path_exists.c move set_nonblock, create_socket and path_exists to libi3 2021-01-20 21:40:24 +01:00
README Introduce libi3, an *internal* library to eliminate code duplication 2011-10-02 16:11:30 +01:00
resolve_tilde.c clang-format: enable InsertBraces (#5882) 2024-01-27 11:37:05 +01:00
root_atom_contents.c clang-format: enable InsertBraces (#5882) 2024-01-27 11:37:05 +01:00
safewrappers.c clang-format: enable InsertBraces (#5882) 2024-01-27 11:37:05 +01:00
screenshot_wallpaper.c Do not "set" the wallpaper during startup (#4373) 2021-05-20 21:37:35 +02:00
string.c clang-format: enable InsertBraces (#5882) 2024-01-27 11:37:05 +01:00
strndup.c clang-format: enable InsertBraces (#5882) 2024-01-27 11:37:05 +01:00
ucs2_conversion.c clang-format: enable InsertBraces (#5882) 2024-01-27 11:37:05 +01:00

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.