diff options
author | emersion <contact@emersion.fr> | 2018-08-20 08:17:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-20 08:17:16 +0100 |
commit | 881f729af9e675710dea43eb268cf644e6ec66be (patch) | |
tree | 3e776d5688bcec25102f540db2e04293cdf6bcbc /sway/tree | |
parent | 08a69f267a96a5b0591222ef1d0f40208e46d484 (diff) | |
parent | 771ad7bffafdb9fc06aa81f8fc1f33c05f1026d2 (diff) |
Merge pull request #2498 from RyanDwyer/fix-jumping-views
Fix jumping views
Diffstat (limited to 'sway/tree')
-rw-r--r-- | sway/tree/view.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sway/tree/view.c b/sway/tree/view.c index 2c0c1aa9..7bf7325a 100644 --- a/sway/tree/view.c +++ b/sway/tree/view.c @@ -236,7 +236,12 @@ void view_autoconfigure(struct sway_view *view) { view->border_top = false; } - switch (view->border) { + enum sway_container_border border = view->border; + if (view->using_csd) { + border = B_NONE; + } + + switch (border) { case B_NONE: x = con->x; y = con->y + y_offset; |