mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	view: refactor view_next()
This commit is contained in:
		
							parent
							
								
									b8fd4fed53
								
							
						
					
					
						commit
						afaf78aa72
					
				
					 7 changed files with 50 additions and 65 deletions
				
			
		| 
						 | 
				
			
			@ -65,7 +65,7 @@ static void keyboard_handle_key(struct wl_listener *listener, void *data)
 | 
			
		|||
			server->cycle_view = NULL;
 | 
			
		||||
		} else if (event->state == WLR_KEY_PRESSED) {
 | 
			
		||||
			/* cycle to next */
 | 
			
		||||
			server->cycle_view = next_toplevel(server->cycle_view);
 | 
			
		||||
			server->cycle_view = view_next(server->cycle_view);
 | 
			
		||||
			return;
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue