rxi / lite

A lightweight text editor written in Lua
MIT License
7.41k stars 352 forks source link

Feature request: exposed window bounds setter and getter methods #173

Open SwissalpS opened 4 years ago

SwissalpS commented 4 years ago

If some window methods were exposed to lua side, then workspace-plugin could save and restore window position and size. Maybe also state (maximised) flags.

On my dual-screen station, lite keeps opening on second screen instead of on main screen, it is annoying me somewhat.

SwissalpS commented 4 years ago

This PR already works for me. Please test and report any findings to the PR-thread. I have only tested on Fedora 32 with dual-screen set-up.