How can I get the mouse position outside the window?

I am using “Pencil.Gaming” which is a ‘wrapper’ in C# on GLFW3.

The code I use “Glfw.GetCursorPos ()” works well but only within the window.
I have also tried “Glfw.SetCursorPosCallback ()” but so do I only get positions the cursor within the window.
I have also tried to hide the cursor “Glfw.SetInputMode ()”, hiding the cursor, the same.

Some help … Greetings

What version of GLFW are you using?

True, there is no such problem, was using the library “GLFW3” that brings “Pencil.Gaming” by default, and switch to the latest version “GLFW 3.2”, the problem has been solved.

Sorry to waste your time … Thank you for responding.

regards