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
This commit is contained in:
committed by
Michael Stapelberg
parent
6e6af01b7a
commit
d26ddcbfe5
@ -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
|
||||
|
||||
|
8
docs/ipc
8
docs/ipc
@ -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.
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user