mirror of
				https://codeberg.org/dwl/dwl.git
				synced 2025-11-03 09:01:45 -05:00 
			
		
		
		
	
							parent
							
								
									d136dadf45
								
							
						
					
					
						commit
						95c07cf9c1
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		
							
								
								
									
										6
									
								
								dwl.c
									
										
									
									
									
								
							
							
						
						
									
										6
									
								
								dwl.c
									
										
									
									
									
								
							| 
						 | 
					@ -2977,11 +2977,11 @@ void
 | 
				
			||||||
virtualpointer(struct wl_listener *listener, void *data)
 | 
					virtualpointer(struct wl_listener *listener, void *data)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	struct wlr_virtual_pointer_v1_new_pointer_event *event = data;
 | 
						struct wlr_virtual_pointer_v1_new_pointer_event *event = data;
 | 
				
			||||||
	struct wlr_pointer pointer = event->new_pointer->pointer;
 | 
						struct wlr_input_device *device = &event->new_pointer->pointer.base;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	wlr_cursor_attach_input_device(cursor, &pointer.base);
 | 
						wlr_cursor_attach_input_device(cursor, device);
 | 
				
			||||||
	if (event->suggested_output)
 | 
						if (event->suggested_output)
 | 
				
			||||||
		wlr_cursor_map_input_to_output(cursor, &pointer.base, event->suggested_output);
 | 
							wlr_cursor_map_input_to_output(cursor, device, event->suggested_output);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Monitor *
 | 
					Monitor *
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue