diff --git a/uisimulator/lcd-x11.c b/uisimulator/lcd-x11.c index 9acbf00c91..cd2b22b354 100644 --- a/uisimulator/lcd-x11.c +++ b/uisimulator/lcd-x11.c @@ -39,29 +39,33 @@ #include "lcd-x11.h" extern unsigned char display[LCD_WIDTH][LCD_HEIGHT/8]; +extern void screen_resized(int width, int height); +extern Display *dpy; void lcd_update (void) { - int x, y; - int p=0; - int bit; - XPoint points[LCD_WIDTH * LCD_HEIGHT]; + int x, y; + int p=0; + int bit; + XPoint points[LCD_WIDTH * LCD_HEIGHT]; - for(y=0; y