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;
 | 
					    screen_t *s, *t = screens;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    num = get_randr_outputs(scr->root, &s);
 | 
					    num = get_randr_outputs(scr->root, &s);
 | 
				
			||||||
//    num_screens = screen_adjust(s, num, &screens);
 | 
					 | 
				
			||||||
    if (num <= 0) {
 | 
					    if (num <= 0) {
 | 
				
			||||||
        fprintf(stderr, "handle_randr_event: no outputs\n");
 | 
					        fprintf(stderr, "handle_randr_event: no outputs\n");
 | 
				
			||||||
        exit(1);
 | 
					        exit(1);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					    /* there needs to be more fixups after the screens are returned */
 | 
				
			||||||
    screens = s;
 | 
					    screens = s;
 | 
				
			||||||
 | 
					    num_screens = num;
 | 
				
			||||||
    free(t);
 | 
					    free(t);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user