mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	input/cursor: remove erroneous cast for tablet tool button
The type expected by wlroots is uint32_t, which `event->button` already is.
This commit is contained in:
		
							parent
							
								
									e262f93d0a
								
							
						
					
					
						commit
						52bd6aecf2
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		| 
						 | 
					@ -739,8 +739,7 @@ static void handle_tool_button(struct wl_listener *listener, void *data) {
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	wlr_tablet_v2_tablet_tool_notify_button(sway_tool->tablet_v2_tool,
 | 
						wlr_tablet_v2_tablet_tool_notify_button(sway_tool->tablet_v2_tool,
 | 
				
			||||||
		(enum zwp_tablet_pad_v2_button_state)event->button,
 | 
							event->button, (enum zwp_tablet_pad_v2_button_state)event->state);
 | 
				
			||||||
		(enum zwp_tablet_pad_v2_button_state)event->state);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static void check_constraint_region(struct sway_cursor *cursor) {
 | 
					static void check_constraint_region(struct sway_cursor *cursor) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue