[Window.System] ConfineCursor=true has issues. Please add 8-10px padding from border

Currently using local version of SK v25.10.4.3.

I reported this problem over a year ago.

Back then, I was playing a game in windowed mode and the cursor was so close to the inner edge of the border that it would click the title bar and drag the game all over the screen.

The recommended fix was to play the game in borderless window and that seemed to work.

But now I am trying to use SK again for another game that is in borderless window, and I keep seeing the taskbar thumbnail previews. I also tried the same game in windowed mode (not borderless). Same problem. Then I used a Windhawk mod to hide the taskbar thumbnails, but I could still see the hovertips for each taskbar pinned program. And when I tried to play the game, it kept minimizing random on mouseclick. It even sometimes minimized all of the windows when I clicked on Show Desktop while gaming. The game is not playable like this.

As I mentioned a year ago, there was a buggy third party program called ‘DisplayLock’ that might not even exist anymore or might have been renamed. I had downloaded it from GitHub. Despite being buggy and not something that I wanted to use, it did an excellent job of confining the mouse cursor inside the game window. In windowed mode, it always confined the cursor to the inner edges of the borders instead of the outer edges of the borders. In that aspect, it blew SK away and was a billion times better. I don’t know what it would do in borderless window, but I think that it had a “padding” to prevent the cursor from getting too close to the window edge and overlapping other elements on the desktop.

Can’t that be implemented in SK as well? Some sort of “confine to game window” but example: 8-10 px from the game window edge?

I don’t play fullscreen. So my taskbar is always visible. And I like my game windows to be a certain size. The way SK is now, my cursor is always going to slip outside the game window as long as I use SK. I wanted to use SK with this game because I wanted to use RenderInBackground=true to prevent the audio from getting muted when multitasking.

UPDATE:

I tested it out just now. The padding has to be at least 8 pixels to prevent parts of the mouse cursor from interacting with anything flush against the game window.

UPDATE:

For the game, I found that confining the cursor to the game window was not necessary. Using ‘Normal Game Behavior’ worked. I thought that it didn’t because the cursor kept leaving the game window. But apparently that only happened when on the menu screen. Once a game loaded, it trapped the cursor inside the game window and it never had any overlap and clicked elements outside of the game window. Perfect.

But that doesn’t change the fact that the ‘Keep Inside Window’ feature in SK absolutely needs an 8px minimum padding or barrier to prevent the cursor from getting too close to the game window edge.