diff options
author | Michael Stapelberg <michael@stapelberg.de> | 2022-11-03 23:11:32 +0100 |
---|---|---|
committer | Michael Stapelberg <stapelberg@users.noreply.github.com> | 2022-11-05 15:58:15 +0100 |
commit | d26ddcbfe5f0ead61cc55c1f596692d9a89e71f9 (patch) | |
tree | 5e4e630b59ead2a30f801f4dbb12eb7cf396f431 /docs | |
parent | 6e6af01b7a1f2ff1a35f7751c07e51277d4414e2 (diff) | |
download | i3-d26ddcbfe5f0ead61cc55c1f596692d9a89e71f9.tar.gz i3-d26ddcbfe5f0ead61cc55c1f596692d9a89e71f9.zip |
draw leaf window decorations on ->frame instead of ->parent->frame
related to https://github.com/i3/i3/issues/3724
fixes https://github.com/i3/i3/issues/1966
Diffstat (limited to 'docs')
-rw-r--r-- | docs/hacking-howto | 4 | ||||
-rw-r--r-- | docs/ipc | 8 | ||||
-rw-r--r-- | docs/userguide | 17 |
3 files changed, 9 insertions, 20 deletions
diff --git a/docs/hacking-howto b/docs/hacking-howto index 01e5c7fd..c6dd6fa4 100644 --- a/docs/hacking-howto +++ b/docs/hacking-howto @@ -564,9 +564,7 @@ split container. ==== Default layout In default layout, containers are placed horizontally or vertically next to -each other (depending on the +con->orientation+). If a child is a leaf node (as -opposed to a split container) and has border style "normal", appropriate space -will be reserved for its window decoration. +each other (depending on the +con->orientation+). ==== Stacked layout @@ -410,6 +410,14 @@ deco_rect (map):: The coordinates of the *window decoration* inside its container. These coordinates are relative to the container and do not include the actual client window. +actual_deco_rect (map):: + See +deco_rect+. i3 v4.22 changed the way title bars are rendered. Before + i3 v4.22, the deco_rect was always relative to the parent coordinates. + Starting with i3 v4.22, this remains true for tabbed/stacked containers + (actual_deco_rect is identical to deco_rect), but for normal-border leaf + containers within vertical/horizontal split containers, actual_deco_rect + is relative to the container itself. For more background, see + https://github.com/i3/i3/issues/1966 geometry (map):: The original geometry the window specified when i3 mapped it. Used when switching a window to floating mode, for example. diff --git a/docs/userguide b/docs/userguide index 5005005e..dc8a5ff7 100644 --- a/docs/userguide +++ b/docs/userguide @@ -1501,23 +1501,6 @@ Tip: You can find an https://github.com/Airblader/i3/wiki/Example-Configuration[example configuration] that uses modes to illustrate various gap configurations. -[[gaps_artifacts]] -==== ⚠ Known issue with gaps: graphical artifacts (black rectangles) - -The way i3 renders window title bars results in graphical artifacts (black -rectangles behind windows) when enabling gaps. In some circumstances, running a -compositor such as `picom` works around the artifacts. - -Another workaround is to disable window title bars entirely: - ------------------------- -# You can also use any non-zero value if you'd like to have a border -default_border pixel 0 ------------------------- - -See https://github.com/i3/i3/issues/3724[Issue #3724] for more details and -updates on this issue. - == Configuring i3bar The bar at the bottom of your monitor is drawn by a separate process called |