diff --git a/src/uxn11.c b/src/uxn11.c index 926fdcd..f9630b4 100644 --- a/src/uxn11.c +++ b/src/uxn11.c @@ -98,7 +98,7 @@ emu_resize(int width, int height) if(window) { visual = DefaultVisual(display, 0); ximage = XCreateImage(display, visual, DefaultDepth(display, DefaultScreen(display)), ZPixmap, 0, (char *)uxn_screen.pixels, uxn_screen.width * s, uxn_screen.height * s, 32, 0); - XResizeWindow(display, window, w * s, h * s); + XResizeWindow(display, window, w * s + 2 * PAD, h * s + 2 * PAD); XMapWindow(display, window); } return 1;