mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	Update seat pointer on meta move/resize/rotate
This will send the button pressed event to the client. This shouldn't be a problem since sebsequent pointer movements are not sent to the client. Thus the client will not for example start selecting text when it is being resized using the compositor keybindigns.
This commit is contained in:
		
							parent
							
								
									7ae8800a63
								
							
						
					
					
						commit
						6567a35903
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
					@ -244,6 +244,9 @@ static void roots_cursor_press_button(struct roots_cursor *cursor,
 | 
				
			||||||
			roots_seat_begin_rotate(seat, view);
 | 
								roots_seat_begin_rotate(seat, view);
 | 
				
			||||||
			break;
 | 
								break;
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
							if (!is_touch) {
 | 
				
			||||||
 | 
								wlr_seat_pointer_notify_button(seat->seat, time, button, state);
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
		return;
 | 
							return;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue