Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How much gap is gapless? #12

Open
mborejdo opened this issue May 23, 2020 · 2 comments
Open

How much gap is gapless? #12

mborejdo opened this issue May 23, 2020 · 2 comments

Comments

@mborejdo
Copy link

How gapless is gapless?
This is how it looks for me currently:
image

Btw. Thank you so much for this work. Finally something fitting my tiling needs on windows.

@kernel32dev
Copy link

i partially fixed that issue for me by modifing the call to SetWindowPos with some offsets, since the space is added by windows
and it seems to be a fixed size for win10
in function resize:
SetWindowPos(c->hwnd, HWND_TOP, c->x - 7, c->y, c->w + 14, c->h + 7, SWP_NOACTIVATE);
its not a pretty solution because of the fixed numbers and all, but it solved it for me
also if someone is interested in solving it for real there seems to be a way to get those offsets directly from windows using DwmGetWindowAttribute and DWMWA_EXTENDED_FRAME_BOUNDS
https://stackoverflow.com/questions/34139450/getwindowrect-returns-a-size-including-invisible-borders

@cjseaslug
Copy link

Is there any possibility this could be connected to Windows' padded border width, changeable in the registry? https://superuser.com/questions/1758977/how-to-change-border-width-in-ms-windows-to-grab-and-resize-it

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

No branches or pull requests

3 participants