RMichelsen / Nvy

Nvy - A Neovim client in C++
MIT License
332 stars 28 forks source link

Fix text moving into non-client area #107

Closed drehren closed 2 months ago

drehren commented 12 months ago

When changing resolution or adding an external monitor, Windows makes the bitmap move "under" the non-client area. This can be seen as the following:

imagen

It fixes when the Nvy window is moved.

The code fixes this by telling Windows not to mess with Nvy window content.

RMichelsen commented 2 months ago

Sorry for the very long response time, the change seems to work, we could also consider re-rendering properly during resize but this is an improvement for now.