zedapp / zed

Rethinking code editing.
http://zedapp.org
MIT License
2.22k stars 162 forks source link

hack to get restoring window size and position to work in linux #459

Closed allie-wake-up closed 10 years ago

allie-wake-up commented 10 years ago

Fixes #428. It seems like the problem is that only the width or height gets set and the other gets stuck at either 800 or 600. I just threw a timeout around setting height and y and now it seems to work. At least in cinnamon in Linux Mint 17.

zefhemel commented 10 years ago

Ok great, let's see how this works for other people. setTimeout fixes are the best.

allie-wake-up commented 10 years ago

Yea pretty much my least favorite way to fix anything