aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-01-22i3bar: Add protocol for workspace buttonsi3bar-ws-protocolOrestis Floros
Closes #3818 (parent issue) Fixes #1808 Fixes #2333 Fixes #2617 Fixes #3548
2023-01-22Add focus workspace commandOrestis Floros
2023-01-19Bump -D_FORTIFY_SOURCE=2 to -D_FORTIFY_SOURCE=3 (#5379)Michael Stapelberg
Arch Linux is discussing increasing to 3, so we should probably keep up: https://gitlab.archlinux.org/archlinux/rfcs/-/merge_requests/17
2023-01-07Merge pull request #5355 from orestisfl/5346/do-not-canonicalize-nonprimaryOrestis Floros
Do not canonicalize "nonprimary" output for i3bar
2023-01-06Do not canonicalize "nonprimary" output for i3barOrestis Floros
Fixes #5346
2023-01-02GitHub Actions: remove i386 autobuild packages (#5345)Michael Stapelberg
They are newly failing since the previous commit (upgrading to Ubuntu focal), so instead of debugging what the issue is, let’s just remove them entirely. Not many i386 users are left, as the world is on amd64 and arm64 these days.
2023-01-02GitHub Actions: build Ubuntu packages using Ubuntu focal (#5344)Michael Stapelberg
This is required to satisfy our meson.build minimal Meson version.
2023-01-02free some heap allocations to satisfy LeakSanitizerMichael Stapelberg
2023-01-02fix reload binding memory issue: copy current_binding_modeMichael Stapelberg
2023-01-02meson: specify check: false on run_commandMichael Stapelberg
We use run_command for conditionals, meaning meson execution should not stop when the command returns false. This change keeps our meson setup working throughout the upcoming change of default behavior (check: true).
2023-01-02GitHub Actions: switch to meson setup subcommandMichael Stapelberg
Using “meson” instead of “meson setup” results in a warning.
2023-01-02fix -Wmaybe-unused and -Wstringop-truncation warningsMichael Stapelberg
2023-01-02GitHub Actions: build with -D_FORTIFY_SOURCE=2Michael Stapelberg
This requires --buildtype=debugoptimized (or --buildtype=release, but optimizations need to be enabled), and will allow us to keep the i3 build free of warnings during development. Distributions like Debian build with -D_FORTIFY_SOURCE=2.
2023-01-02release.sh: update after 4.22 releaseMichael Stapelberg
2023-01-02clean up old release notesMichael Stapelberg
2023-01-02debian: update changelogMichael Stapelberg
2023-01-02Merge branch 'release-4.22'Michael Stapelberg
2023-01-02Restore non-git version suffixMichael Stapelberg
2023-01-02release i3 4.224.22Michael Stapelberg
2022-12-21fix focus <direction> with negative gaps (#5333)Michael Stapelberg
fixes #5293
2022-12-14Merge pull request #5324 from orestisfl/5323/mode-in-binding-eventOrestis Floros
Add "mode" field in binding event
2022-12-14Add "mode" field in binding eventOrestis Floros
This does *not* go in the binding object to reflect the same hierarchy of the config file: a mode is a collection of bindings. Fixes #5323
2022-12-06i3-dmenu-desktop: Allow more than one --entry-type (#5294)Demian
Unlike in the man page, only one --entry-type is reasonable possible. On using multiple --entry-types and a command offers multiple, duplicates are removed i3-dmenu-desktop. See more at #5291 added --show-duplicates flag for this
2022-12-06Update to clang-format-12 (as 10 is no longer installable) (#5317)Michael Stapelberg
No changes to the code are needed.
2022-11-19Support nonprimary output keyword (#5273)Orestis Floros
Fixes #4878
2022-11-13command.spec: Put cmd_border stuff together (#5266)Orestis Floros
2022-11-13Use mask to determine workspace gaps assignments (#5283)Orestis Floros
Fixes #5282
2022-11-13window_update_motif_hints: Do not assert that the property will always be ↵Orestis Floros
there (#5281) Fixes #5280
2022-11-12apply updated workspace gap assignments after reload (#5279)Michael Stapelberg
Fixes https://github.com/i3/i3/issues/5257
2022-11-12Make floating_from and tiling_from criterion work in commands, too (#5278)Michael Stapelberg
Fixes https://github.com/i3/i3/issues/5258
2022-11-12gaps: position graphical resize bar in the middle between windows (#5277)Michael Stapelberg
Fixes https://github.com/i3/i3/issues/5256
2022-11-12fix: prevent gaps inside floating split containers (#5276)Michael Stapelberg
Fixes https://github.com/i3/i3/issues/5272
2022-11-12gaps: fix inner gaps for stacked/tabbed containers in splith/splitv (#5275)Michael Stapelberg
Fixes https://github.com/i3/i3/issues/5261
2022-11-12use con_border_style() to fix titles in stacked/tabbed containers (#5274)Michael Stapelberg
Previously, the code was directly accessing con->border_style, which circumvents the special-casing for stacked/tabbed containers that forces window titles even for title-less containers. Fixes https://github.com/i3/i3/issues/5269
2022-11-08userguide: gaps: mention minimum version (#5265)Orestis Floros
2022-11-07gaps: make workspace gap assignments order-independent (#5259)Michael Stapelberg
This commit moves subtracting the global gaps from the workspace gaps: previously, this calculation was done while parsing the configuration (order dependent), now it’s done at workspace assignment evaluation time. related to https://github.com/i3/i3/issues/3724 fixes https://github.com/i3/i3/issues/5253
2022-11-07fix title bar rendering with hide_edge_borders smart (#5260)Michael Stapelberg
related to https://github.com/i3/i3/pull/5245 fixes https://github.com/i3/i3/issues/5254
2022-11-06gaps: change workspace rendering to fix sizes with large outer gaps (#5252)Michael Stapelberg
Currently, containers only consider their neighbors and screen edges. If >2 containers are in a line, the outer containers adjust from outer gaps, but the middle containers know nothing of this and only consider the inner gaps. When the outer gaps differ substantially from the inner gaps, the left-most and right-most containers are smaller as only they adjust for the larger outer gaps. This commit changes the rendering: containers are now always inset by their inner gap settings, and workspace containers is now inset by the outer gap settings. The result is that many tiled containers have the same size, and the gaps overall work as the user might expect them to previous combinations of outer/inner gap settings still produce the same result, albeit with fixed outer-most sizes. fixes https://github.com/Airblader/i3/issues/22 related to https://github.com/i3/i3/issues/3724 Co-authored-by: Cameron Leger <contact@cameronleger.com>
2022-11-06Revert "gaps: use logical_px() to work correctly on hi-dpi monitors" (#5251)Michael Stapelberg
This reverts commit 6b658f88be50d5251f85eaf6f838d6c67ebaac95. The commit was misguided: the pixel values are already run through logical_px() when parsing the configuration directive or command, so they should not be run through another logical_px() pass at rendering time.
2022-11-06t/548-motif-hints: add missing $x->flush after $x->change_propertyMichael Stapelberg
I noticed the test was flaky before, possibly this fixes it. related to #3009
2022-11-06Fix motif behavior according to specOrestis Floros
See https://linux.die.net/man/3/vendorshell The important part is: > MWM_DECOR_ALL > All decorations *except* those specified by other flag bits that are set
2022-11-06Allow text drawing to use the alpha channel. (#5246)Michael Stapelberg
This is the last remaining diff from the i3-gaps tree. related to https://github.com/i3/i3/issues/3724 Tested using the following config with picom: bar { i3bar_command i3bar -t status_command i3status colors { # fully transparent text on opaque background: statusline #ffffff00 background #000000ff } }
2022-11-06userguide: document smart_bordersMichael Stapelberg
2022-11-06userguide: document hide_edge_borders smart_no_gapsMichael Stapelberg
related to https://github.com/i3/i3/issues/3724
2022-11-05draw leaf window decorations on ->frame instead of ->parent->frameMichael Stapelberg
related to https://github.com/i3/i3/issues/3724 fixes https://github.com/i3/i3/issues/1966
2022-11-05draw_util: refactor surface_initialized macro into functionMichael Stapelberg
This makes it possible to set a breakpoint in gdb on a line in the function and get a backtrace of un-initialized surface access.
2022-11-05check-spelling: add another false positive (#5247)Michael Stapelberg
2022-11-01meson.build: include new gaps1920.png file in dist tarball (#5242)Michael Stapelberg
2022-11-01config.spec: add missing smart_gaps inverse_outer commentMichael Stapelberg
2022-11-01refactor cmd_gaps to get rid of all #defineMichael Stapelberg
I’m still not 100% happy with how the function turned out (it still does too many things at once), but this seems like an improvement — at least reading and navigating the code with LSP now works better.