mirror of
				https://github.com/gnif/LookingGlass.git
				synced 2025-11-03 22:22:08 +00:00 
			
		
		
		
	[client] spice: correct enter/leave event handling
This commit is contained in:
		@@ -1102,7 +1102,7 @@ int eventFilter(void * userdata, SDL_Event * event)
 | 
			
		||||
            break;
 | 
			
		||||
 | 
			
		||||
          case EnterNotify:
 | 
			
		||||
            if (xe.xcrossing.detail != NotifyNonlinear)
 | 
			
		||||
            if (xe.xcrossing.mode != NotifyNormal)
 | 
			
		||||
              break;
 | 
			
		||||
 | 
			
		||||
            state.curLastX = xe.xcrossing.x;
 | 
			
		||||
@@ -1112,7 +1112,7 @@ int eventFilter(void * userdata, SDL_Event * event)
 | 
			
		||||
            break;
 | 
			
		||||
 | 
			
		||||
          case LeaveNotify:
 | 
			
		||||
            if (xe.xcrossing.detail != NotifyNonlinear)
 | 
			
		||||
            if (xe.xcrossing.mode != NotifyNormal)
 | 
			
		||||
              break;
 | 
			
		||||
 | 
			
		||||
            state.curLastX = xe.xcrossing.x;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user