mirror of
				https://codeberg.org/dwl/dwl.git
				synced 2025-10-30 19:44:17 +00:00 
			
		
		
		
	improve code style
This commit is contained in:
		
							parent
							
								
									9308a90d11
								
							
						
					
					
						commit
						71572521e9
					
				
							
								
								
									
										8
									
								
								dwl.c
									
									
									
									
									
								
							
							
						
						
									
										8
									
								
								dwl.c
									
									
									
									
									
								
							| @ -1355,10 +1355,10 @@ motionnotify(uint32_t time) | |||||||
| 	else if ((surface = xytolayersurface(&selmon->layers[ZWLR_LAYER_SHELL_V1_LAYER_BOTTOM], | 	else if ((surface = xytolayersurface(&selmon->layers[ZWLR_LAYER_SHELL_V1_LAYER_BOTTOM], | ||||||
| 					cursor->x, cursor->y, &sx, &sy))) | 					cursor->x, cursor->y, &sx, &sy))) | ||||||
| 		; | 		; | ||||||
| 	else if ((surface = xytolayersurface(&selmon->layers[ZWLR_LAYER_SHELL_V1_LAYER_BACKGROUND], | 	else | ||||||
| 					cursor->x, cursor->y, &sx, &sy))) { // gcc complains without these braces
 | 		surface = xytolayersurface(&selmon->layers[ZWLR_LAYER_SHELL_V1_LAYER_BACKGROUND], | ||||||
| 		; | 					cursor->x, cursor->y, &sx, &sy); | ||||||
| 	} | 
 | ||||||
| 	/* If there's no client surface under the cursor, set the cursor image to a
 | 	/* If there's no client surface under the cursor, set the cursor image to a
 | ||||||
| 	 * default. This is what makes the cursor image appear when you move it | 	 * default. This is what makes the cursor image appear when you move it | ||||||
| 	 * off of a client or over its border. */ | 	 * off of a client or over its border. */ | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Guido Cella
						Guido Cella