mirror of
https://github.com/swaywm/sway.git
synced 2024-12-29 00:16:22 +01:00
Merge pull request #2498 from RyanDwyer/fix-jumping-views
Fix jumping views
This commit is contained in:
commit
881f729af9
1 changed files with 6 additions and 1 deletions
|
@ -236,7 +236,12 @@ void view_autoconfigure(struct sway_view *view) {
|
||||||
view->border_top = false;
|
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:
|
case B_NONE:
|
||||||
x = con->x;
|
x = con->x;
|
||||||
y = con->y + y_offset;
|
y = con->y + y_offset;
|
||||||
|
|
Loading…
Reference in a new issue