mirror of
https://github.com/swaywm/sway.git
synced 2024-12-30 17:06:40 +01:00
Fix gaps for views being incorrect
This commit is contained in:
parent
4397cff7bc
commit
250097d32b
2 changed files with 4 additions and 1 deletions
|
@ -105,7 +105,7 @@ static void config_defaults(struct sway_config *config) {
|
||||||
config->seamless_mouse = true;
|
config->seamless_mouse = true;
|
||||||
config->reading = false;
|
config->reading = false;
|
||||||
|
|
||||||
config->edge_gaps = false;
|
config->edge_gaps = true;
|
||||||
config->gaps_inner = 0;
|
config->gaps_inner = 0;
|
||||||
config->gaps_outer = 0;
|
config->gaps_outer = 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -398,6 +398,9 @@ static void arrange_windows_r(swayc_t *container, double width, double height) {
|
||||||
height = container->height;
|
height = container->height;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sway_log(L_DEBUG, "Arranging layout for %p %s %fx%f+%f,%f", container,
|
||||||
|
container->name, container->width, container->height, container->x, container->y);
|
||||||
|
|
||||||
int x = 0, y = 0;
|
int x = 0, y = 0;
|
||||||
switch (container->type) {
|
switch (container->type) {
|
||||||
case C_ROOT:
|
case C_ROOT:
|
||||||
|
|
Loading…
Reference in a new issue