mirror of
				https://github.com/glfw/glfw.git
				synced 2025-11-03 22:04:15 +00:00 
			
		
		
		
	Made disabled mode disable Win32 cursor image.
This commit is contained in:
		
							parent
							
								
									6e68d89e0f
								
							
						
					
					
						commit
						16a8fafab2
					
				@ -696,8 +696,8 @@ static LRESULT CALLBACK windowProc(HWND hWnd, UINT uMsg,
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        case WM_SETCURSOR:
 | 
					        case WM_SETCURSOR:
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            if (window->cursorMode == GLFW_CURSOR_HIDDEN &&
 | 
					            if (window->cursorMode != GLFW_CURSOR_NORMAL &&
 | 
				
			||||||
                window->win32.handle == GetForegroundWindow() &&
 | 
					                _glfw.focusedWindow == window &&
 | 
				
			||||||
                LOWORD(lParam) == HTCLIENT)
 | 
					                LOWORD(lParam) == HTCLIENT)
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
                SetCursor(NULL);
 | 
					                SetCursor(NULL);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user