SDL_WINDOW_BORDERLESS difference between 2.0.3 <-> 2.0.7 (Windows)

Hi,

I just updated SDL2 from 2.0.3 to 2.0.7, and I noticed a big change in how the SDL_WINDOW_BORDERLESS flag behaves. I’m running windows 10.

In 2.0.7 it seems that the top bar is hidden, but all mouse events also include the top bar. Hovering over the hidden top bar will also give mouse motion events, the first actual pixel starts around y=20.

There is also no way to get the window all the way to the top of the monitor, since it always requires space for the hidden top bar.

Hopefully I’m doing something wrong here. Sorry if I am repeating a question, couldn’t find something similar on this forum.

Thanks for your reply,

Corjan

1 Like

Sounds like a bug. I would report it on the bugtracker http://bugzilla.libsdl.org.

Done, thanks for your reply.

Also, the bug seems to have been introduced between version 2.0.6 and 2.0.7 and is not present on all systems (to make it more fun to solve :slight_smile: ).

Corjan