Move field definition on top of function (readability)
This commit is contained in:
		
							parent
							
								
									711b11c92f
								
							
						
					
					
						commit
						d96a29fed5
					
				| @ -63,6 +63,8 @@ void wake_up(void) | ||||
| 
 | ||||
| static gboolean run(void *data) | ||||
| { | ||||
|         static gint64 next_timeout = 0; | ||||
| 
 | ||||
|         LOG_D("RUN"); | ||||
| 
 | ||||
|         dunst_status(S_FULLSCREEN, have_fullscreen_window()); | ||||
| @ -70,8 +72,6 @@ static gboolean run(void *data) | ||||
| 
 | ||||
|         queues_update(status); | ||||
| 
 | ||||
|         static gint64 next_timeout = 0; | ||||
| 
 | ||||
|         bool active = queues_length_displayed() > 0; | ||||
| 
 | ||||
|         if (active) { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Benedikt Heine
						Benedikt Heine