rust_minifb icon indicating copy to clipboard operation
rust_minifb copied to clipboard

Borderless is not working properly on Windows

Open valkum opened this issue 4 years ago • 2 comments

Currently resizeable, borderless and titleless on MS Windows will set the flag WS_OVERLAPPEDWINDOW | WS_THICKFRAME | WS_MAXIMIZEBOX | WS_THICKFRAME which creates some problems according to https://github.com/rossy/borderless-window/blob/master/borderless-window.c

They actually start with WS_OVERLAPPEDWINDOW | WS_SIZEBOX and "remove the borders by expanding the client area"

Would it be possible to implement this in minifb?

valkum avatar Apr 03 '20 18:04 valkum

I guess this can be changed. Would you be willing to do a PR with the required changes?

emoon avatar Apr 04 '20 05:04 emoon

I can try sometime next week.

valkum avatar Apr 05 '20 18:04 valkum