A tiling window manager for X11 https://i3wm.org/
Find a file
Orestis Floros b1e99d8ff0
Chore: Code cleanup and style improvements (#6516)
This PR is a pure linting and code cleanup effort with no functional
changes, focusing on improving code quality and consistency.

The bulk of the changes involve:

* Code Formatting: The entire codebase was reformatted after updating
our `clang-format` version.
* Compiler Warnings: Addressed `-Wsuggest-attribute` warnings from GCC
by applying `pure`, `const`, and `format` attributes where appropriate.
This helps the compiler with optimizations and bug detection.
*   Code Modernization:
* Variable declarations were moved closer to their first use or into
tighter scopes.
* `memset` calls were replaced with C99 zero-initializers (`= {0}`).
* Redundant `struct` keywords, unnecessary type casts, and some
superfluous `return` statements were removed.
* CI Adjustments: The GitHub Actions workflow was updated to correctly
apply compiler flags for both GCC and Clang.
2025-11-07 09:49:03 +00:00
.github Chore: Code cleanup and style improvements (#6516) 2025-11-07 09:49:03 +00:00
AnyEvent-I3 Use I3SOCK environment variable for path in AnyEvent::I3 (#5987) 2024-04-19 19:12:11 +02:00
contrib Fix: remove "dynamic" TWM (#6193) 2024-08-05 18:23:55 +02:00
debian debian: update changelog 2024-11-06 18:34:21 +01:00
docs Fix typos via codespell (#6415) 2025-03-21 12:48:29 +00:00
etc make tiling drag configurable 2022-10-16 18:21:08 +02:00
i3-config-wizard Update to clang-format-20 (#6521) 2025-11-05 22:46:34 +01:00
i3-dump-log Update to clang-format-20 (#6521) 2025-11-05 22:46:34 +01:00
i3-input Chore: Code cleanup and style improvements (#6516) 2025-11-07 09:49:03 +00:00
i3-msg Fix: remove "dynamic" TWM (#6193) 2024-08-05 18:23:55 +02:00
i3-nagbar Chore: Code cleanup and style improvements (#6516) 2025-11-07 09:49:03 +00:00
i3bar Chore: Code cleanup and style improvements (#6516) 2025-11-07 09:49:03 +00:00
include Chore: Code cleanup and style improvements (#6516) 2025-11-07 09:49:03 +00:00
libi3 Chore: Code cleanup and style improvements (#6516) 2025-11-07 09:49:03 +00:00
man Fix: remove "dynamic" TWM (#6193) 2024-08-05 18:23:55 +02:00
meson Update meson setup command to remove warning (#6338) 2024-12-29 19:50:09 +01:00
parser-specs Fix: remove "dynamic" TWM (#6193) 2024-08-05 18:23:55 +02:00
release-notes assignments: Avoid crash when using for_window reload (#6508) 2025-10-07 17:36:09 +02:00
share Move/rename config files/.desktop files into subdirs 2016-10-23 21:09:24 +02:00
src Chore: Code cleanup and style improvements (#6516) 2025-11-07 09:49:03 +00:00
testcases commands_parser.c: Make re-entrant (#6523) 2025-11-07 08:18:36 +01:00
travis Fix AdressSanitizer failures in tests (#6502) 2025-10-06 08:09:17 +02:00
.clang-format clang-format: enable InsertBraces (#5882) 2024-01-27 11:37:05 +01:00
.dockerignore add meson build files (#4094) 2020-05-19 14:45:06 +02:00
.editorconfig Add .editorconfig (see editorconfig.org) (#2943) 2017-09-13 18:38:27 +02:00
.gitignore Fix crash with focus output and scratchpad (#6079) 2024-06-03 17:00:47 +02:00
DEPENDS Fix DEPENDS table 2018-05-01 13:49:55 +03:00
generate-command-parser.pl Refactor: Extract parser stack implementation to parser_util (#6514) 2025-11-05 22:56:49 +01:00
i3-dmenu-desktop i3-dmenu-desktop: Allow more than one --entry-type (#5294) 2022-12-06 17:23:10 +01:00
i3-migrate-config-to-v4 Remove dead documentation for non-existing feature "stack-limit". 2015-06-09 23:13:15 +02:00
i3-save-tree i3-save-tree: Exclude unsupported "transient_for" property 2018-09-12 14:13:56 +03:00
i3-sensible-editor Added gVim to i3-sensible-editor 2018-02-19 15:39:46 +01:00
i3-sensible-pager i3-sensible-pager: sanitize LESS environment variable (#5111) 2022-09-06 08:42:02 +02:00
i3-sensible-terminal Make raphamorim/rio one of i3's sensible terminals. 2023-12-13 12:45:14 +02:00
I3_VERSION Set non-git version to 4.19.1-non-git. 2021-02-01 09:04:01 +01:00
LICENSE Reformat LICENSE so github sees it as BSD-3-Clause. (#4181) 2020-09-02 11:42:05 +02:00
logo.svg Fix: remove "dynamic" TWM (#6193) 2024-08-05 18:23:55 +02:00
meson.build Refactor: Extract parser stack implementation to parser_util (#6514) 2025-11-05 22:56:49 +01:00
meson_options.txt meson: make docdir configurable 2020-05-19 19:07:45 +02:00
PACKAGE-MAINTAINER Update meson setup command to remove warning (#6338) 2024-12-29 19:50:09 +01:00
pseudo-doc.doxygen Replace http:// with https:// where applicable 2017-09-24 10:19:07 +02:00
README.md README: update build status badge for GitHub Actions 2021-05-23 16:06:13 +02:00
RELEASE-NOTES-4.24 release i3 4.24 2024-11-06 18:26:52 +01:00
release.sh Update meson setup command to remove warning (#6338) 2024-12-29 19:50:09 +01:00

Logo i3: A tiling window manager

Build Status Issue Stats Pull Request Stats

Packages Packages

i3 is a tiling window manager for X11.

For more information about i3, please see the project's website and online documentation.

For information about contributing to i3, please see CONTRIBUTING.md.