mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	remove default from kill switch
This commit is contained in:
		
							parent
							
								
									81556f4b2a
								
							
						
					
					
						commit
						b5d49cc4e8
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		| 
						 | 
					@ -14,6 +14,7 @@ struct cmd_results *cmd_kill(int argc, char **argv) {
 | 
				
			||||||
	case C_ROOT:
 | 
						case C_ROOT:
 | 
				
			||||||
	case C_OUTPUT:
 | 
						case C_OUTPUT:
 | 
				
			||||||
	case C_WORKSPACE:
 | 
						case C_WORKSPACE:
 | 
				
			||||||
 | 
						case C_TYPES:
 | 
				
			||||||
		return cmd_results_new(CMD_INVALID, NULL,
 | 
							return cmd_results_new(CMD_INVALID, NULL,
 | 
				
			||||||
				"Can only kill views and containers with this command");
 | 
									"Can only kill views and containers with this command");
 | 
				
			||||||
		break;
 | 
							break;
 | 
				
			||||||
| 
						 | 
					@ -24,8 +25,6 @@ struct cmd_results *cmd_kill(int argc, char **argv) {
 | 
				
			||||||
	case C_VIEW:
 | 
						case C_VIEW:
 | 
				
			||||||
		view_close(con->sway_view);
 | 
							view_close(con->sway_view);
 | 
				
			||||||
		break;
 | 
							break;
 | 
				
			||||||
	default:
 | 
					 | 
				
			||||||
		break;
 | 
					 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	return cmd_results_new(CMD_SUCCESS, NULL, NULL);
 | 
						return cmd_results_new(CMD_SUCCESS, NULL, NULL);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue