Skip to content

Fix +1 line with fullscreen#143

Open
vid512 wants to merge 1 commit into
RMichelsen:masterfrom
vid512:fix-fullscreen
Open

Fix +1 line with fullscreen#143
vid512 wants to merge 1 commit into
RMichelsen:masterfrom
vid512:fix-fullscreen

Conversation

@vid512

@vid512 vid512 commented Jan 2, 2026

Copy link
Copy Markdown

Project seems dead, but since I like it a lot, I'll try this PR anyway.

This fixes the problem with last line being partially invisible in fullscreen mode. See #138

This was caused by RendererGridToPixelSize() assuming that window style is WS_OVERLAPPEDWINDOW, which is explicitly disabled in ToggleFullscreen for fullscreen windows. Also, we don't want "grid_resize" message handler to round down window size to fint size. This causes Windows Taskbar to appear over Nvy window.

So, the solution is not to resize window at all upon receiving "grid_resize" message, when the window is fullscreen (detected by checking window style, see ToggleFullscreen implementation).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant