mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	Only send relative motion to correct seat
This commit is contained in:
		
							parent
							
								
									09bdbf24f4
								
							
						
					
					
						commit
						d0c940d796
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -321,7 +321,7 @@ static void notify_relative_motion(struct roots_seat *seat, uint64_t time_msec,
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		struct wlr_relative_pointer_v1 *pointer =
 | 
							struct wlr_relative_pointer_v1 *pointer =
 | 
				
			||||||
			wlr_relative_pointer_v1_from_resource(resource);
 | 
								wlr_relative_pointer_v1_from_resource(resource);
 | 
				
			||||||
		if (pointer == NULL) {
 | 
							if (pointer == NULL || seat->seat != pointer->seat) {
 | 
				
			||||||
			continue;
 | 
								continue;
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue