mirror of
				https://github.com/swaywm/sway.git
				synced 2025-10-29 05:40:18 -04:00 
			
		
		
		
	Do not truncate pointer coordinates to int.
This increases the precision of the clicks when using i3bar.
This commit is contained in:
		
							parent
							
								
									0f5157668d
								
							
						
					
					
						commit
						fca32b6334
					
				
					 2 changed files with 3 additions and 3 deletions
				
			
		|  | @ -18,7 +18,7 @@ struct swaybar_pointer { | |||
| 	struct wl_cursor_image *cursor_image; | ||||
| 	struct wl_surface *cursor_surface; | ||||
| 	struct swaybar_output *current; | ||||
| 	int x, y; | ||||
| 	double x, y; | ||||
| 	uint32_t serial; | ||||
| }; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Hristo Venev
						Hristo Venev