mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Fix a use-after-free error in switch binding
This commit is contained in:
		
							parent
							
								
									a3e574f63f
								
							
						
					
					
						commit
						c1c2fe04bb
					
				
					 1 changed files with 0 additions and 1 deletions
				
			
		| 
						 | 
					@ -4,7 +4,6 @@
 | 
				
			||||||
#include "sway/input/switch.h"
 | 
					#include "sway/input/switch.h"
 | 
				
			||||||
#include <wlr/types/wlr_idle.h>
 | 
					#include <wlr/types/wlr_idle.h>
 | 
				
			||||||
#include "log.h"
 | 
					#include "log.h"
 | 
				
			||||||
#include <string.h>
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
struct sway_switch *sway_switch_create(struct sway_seat *seat,
 | 
					struct sway_switch *sway_switch_create(struct sway_seat *seat,
 | 
				
			||||||
		struct sway_seat_device *device) {
 | 
							struct sway_seat_device *device) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue