Clean up after removing screen_adjust removal.
This commit is contained in:
		
							
								
								
									
										3
									
								
								bar.c
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								bar.c
									
									
									
									
									
								
							@@ -590,12 +590,13 @@ handle_randr_event (xcb_generic_event_t *ev)
 | 
			
		||||
    screen_t *s, *t = screens;
 | 
			
		||||
 | 
			
		||||
    num = get_randr_outputs(scr->root, &s);
 | 
			
		||||
//    num_screens = screen_adjust(s, num, &screens);
 | 
			
		||||
    if (num <= 0) {
 | 
			
		||||
        fprintf(stderr, "handle_randr_event: no outputs\n");
 | 
			
		||||
        exit(1);
 | 
			
		||||
    }
 | 
			
		||||
    /* there needs to be more fixups after the screens are returned */
 | 
			
		||||
    screens = s;
 | 
			
		||||
    num_screens = num;
 | 
			
		||||
    free(t);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user