tarkah / grout

Simple tiling window manager for Windows
MIT License
202 stars 8 forks source link

Fix resizing of maximized applications. #30

Closed DiXN closed 4 years ago

DiXN commented 4 years ago

This uses ShowWindow with SW_RESTORE as suggested in #29.

Closes #29.

tarkah commented 4 years ago

Can you remove the last commit since you opened a separate PR for it?

DiXN commented 4 years ago

Forgot to push the commit in a new branch first. Should work now.

tarkah commented 4 years ago

Perfect, thanks

tarkah commented 4 years ago

@DiXN I just tested this out, and the window wasn't resizing to the correct dimensions (I am using 10px margins). I moved the Restore function to occur before I calculate the transparent border adjustment, which appeared to be the cause. Everything resizes correctly now.