diff --git a/app.c b/app.c index 1e46579..62511be 100644 --- a/app.c +++ b/app.c @@ -352,7 +352,7 @@ void appUpdateScreenSize(App *app, int sw, int sh) { if (sw == app->sw && sh == app->sh) return; LOGDBG("app: update screen size: w=%d, h=%d", sw, sh); - #if defined(LOCK_SIZE) || defined(DOCK) + #if defined(DOCK) || (defined(LOCK_SIZE) && defined(NOBORDER) && defined(NOTITLE)) // static size case int w = sw * WIDTH_SCALE; int h = sh * HEIGHT_SCALE;