WordPress.org recommends servers running version 7.4 or greater of PHP. All older versions are unsupported and may contain security vulnerabilities, see https://www.php.net/eol.php.
WordPress.org recommends servers running version 7.4 or greater of PHP. All older versions are unsupported and may contain security vulnerabilities, see https://www.php.net/eol.php.
CGEventCreate(NULL) returns a new Quartz event using a default source, and CGEventGetLocation returns global display coordinates of the mouse. So I think both cases are valid mouse events and the modifier key state should be applied to both of them. I don't have a test case at hand, but the patch works well with Minetest.
I've tested it with Minetest on macOS 10.14, not sure if Window is NULL though. Both parts set MouseInput.X and Y, so it looks like windowed mode / invisible (e.g. console application), the later retrives global display coordinates. https://developer.apple.com/documentation/coregraphics/1455788-cgeventgetlocation?language=objc
I've tested it with Minetest on macOS 10.14, not sure if Window is NULL though. Both parts set MouseInput.X and Y, so it looks like windowed mode / invisible, the later retrives global display coordinates. https://developer.apple.com/documentation/coregraphics/1455788-cgeventgetlocation?language=objc
I've tested it with Minetest on macOS 10.14, not sure if Window is NULL though. Both parts set MouseInput.X and Y, so it looks like windowed mode / borderless mode, the later retrives global display coordinates. https://developer.apple.com/documentation/coregraphics/1455788-cgeventgetlocation?language=objc
Fix SEvent.MouseInput.Shift and Control on macOS
Hi, When I start sstpc and interrupt it immediately, it will crash. ASAN report below. ASAN:DEADLYSIGNAL ================================================================= ==4152==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000030 (pc 0x00010c681f54 bp 0x7ffee364c880 sp 0x7ffee364c880 T0) ==4152==The signal is caused by a READ memory access. ==4152==Hint: address points to the zero page. #0 0x10c681f53 in SSL_shutdown (libssl.1.0.0.dylib:x86_64+0x2bf53) #1 0x10c5b959a in sstp_stream_destroy...