don't draw monitor number, if there is just one monitor
This commit is contained in:
		
							parent
							
								
									183dc670a3
								
							
						
					
					
						commit
						e408ca97d8
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								dwm.c
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								dwm.c
									
										
									
									
									
								
							|  | @ -636,7 +636,7 @@ drawbar(Monitor *m) { | ||||||
| 
 | 
 | ||||||
| 	dc.x = 0; | 	dc.x = 0; | ||||||
| #ifdef XINERAMA | #ifdef XINERAMA | ||||||
| 	{ | 	if(mons->next) { /* more than a single monitor */ | ||||||
| 		char buf[2]; | 		char buf[2]; | ||||||
| 		buf[0] = m->screen_number + '0'; | 		buf[0] = m->screen_number + '0'; | ||||||
| 		buf[1] = '\0'; | 		buf[1] = '\0'; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue