Fixed background color for non-EWMH-compliant WMs
This commit is contained in:
		
							parent
							
								
									ba293b09df
								
							
						
					
					
						commit
						d54e64faae
					
				
							
								
								
									
										6
									
								
								main.c
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								main.c
									
									
									
									
									
								
							| @ -565,7 +565,11 @@ void on_keypress(XKeyEvent *kev) { | |||||||
| 			exit(0); | 			exit(0); | ||||||
| 		case XK_f: | 		case XK_f: | ||||||
| 			win_toggle_fullscreen(&win); | 			win_toggle_fullscreen(&win); | ||||||
| 			/* render on next configurenotify */ | 			if (mode == MODE_NORMAL) | ||||||
|  | 				img.checkpan = 1; | ||||||
|  | 			else | ||||||
|  | 				tns.dirty = 1; | ||||||
|  | 			timo_redraw = TO_WIN_RESIZE; | ||||||
| 			break; | 			break; | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Bert
						Bert