Fix XRM dpi loading
Bug introduced in 0bcc135ffd9a5ad0331f8608f4ed1c4223e0b4e9, XRM database wasn't properly initialized when the screen dpi is assigned.
This commit is contained in:
		
							parent
							
								
									0bcc135ffd
								
							
						
					
					
						commit
						c37a923def
					
				| @ -537,10 +537,11 @@ void x_setup(void) | |||||||
| 
 | 
 | ||||||
|         xctx.screensaver_info = XScreenSaverAllocInfo(); |         xctx.screensaver_info = XScreenSaverAllocInfo(); | ||||||
| 
 | 
 | ||||||
|  |         XrmInitialize(); | ||||||
|  |         XRM_update_db(); | ||||||
|  | 
 | ||||||
|         init_screens(); |         init_screens(); | ||||||
|         x_shortcut_grab(&settings.history_ks); |         x_shortcut_grab(&settings.history_ks); | ||||||
| 
 |  | ||||||
|         XrmInitialize(); |  | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| struct geometry x_parse_geometry(const char *geom_str) | struct geometry x_parse_geometry(const char *geom_str) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Nikos Tsipinakis
						Nikos Tsipinakis