summaryrefslogtreecommitdiffstats
path: root/swaynag/main.c
diff options
context:
space:
mode:
authorLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-08-20 13:24:57 +1000
committerLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-08-20 13:24:57 +1000
commit771ad7bffafdb9fc06aa81f8fc1f33c05f1026d2 (patch)
tree3e776d5688bcec25102f540db2e04293cdf6bcbc /swaynag/main.c
parentMerge pull request #2483 from RyanDwyer/floating-emit-reparent (diff)
downloadsway-771ad7bffafdb9fc06aa81f8fc1f33c05f1026d2.tar.gz
sway-771ad7bffafdb9fc06aa81f8fc1f33c05f1026d2.tar.zst
sway-771ad7bffafdb9fc06aa81f8fc1f33c05f1026d2.zip
Fix jumping views
Fixes #2490. To be honest I'm not sure why this fixes the issue. I observed that I could only make the view jump if I resized it to the smallest possible size first. Then I had a suspicion that we were accidentally factoring in the title and border sizes into the view size when it uses CSD. So I changed that and it appears to have fixed the jumping issue. I guess when we factor the title and borders in, we send a configure to the surface with a size smaller than the minimum, and it comes back with a surface at the minimum size. We interpret this as an unexpected resize, and this somehow makes it jump.
Diffstat (limited to 'swaynag/main.c')
0 files changed, 0 insertions, 0 deletions