mirror of
				https://github.com/swaywm/sway.git
				synced 2025-10-29 05:40:18 -04:00 
			
		
		
		
	Call wlr_output_enable for disabled new outputs
When a new output is detected and it is disabled by the output config, call `wlr_output_enable(output->wlr_output, false)` to DPMS off the output.
This commit is contained in:
		
							parent
							
								
									b61a936c80
								
							
						
					
					
						commit
						6acbe84fdd
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -568,6 +568,8 @@ void handle_new_output(struct wl_listener *listener, void *data) { | |||
| 
 | ||||
| 	if (!oc || oc->enabled) { | ||||
| 		output_enable(output, oc); | ||||
| 	} else { | ||||
| 		wlr_output_enable(output->wlr_output, false); | ||||
| 	} | ||||
| 
 | ||||
| 	transaction_commit_dirty(); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Brian Ashworth
						Brian Ashworth