diff --git a/src/conio/x_events.c b/src/conio/x_events.c
index 1a4a79aa54cbece530de754710a6138d5183f101..5481a1798114edcf6513dcd411159283e0707975 100644
--- a/src/conio/x_events.c
+++ b/src/conio/x_events.c
@@ -334,8 +334,8 @@ static void map_window()
 	pthread_mutex_unlock(&vstatlock);
 
 	if (x_cvstat.aspect_width != 0 && x_cvstat.aspect_height != 0) {
-		sh->min_aspect.x = sh->max_aspect.x = sh->min_width;
-		sh->min_aspect.y = sh->max_aspect.y = sh->min_height;
+		sh->min_aspect.x = sh->max_aspect.x = x_cvstat.aspect_width;
+		sh->min_aspect.y = sh->max_aspect.y = x_cvstat.aspect_height;
 	}
 	else {
 		sh->min_aspect.x = sh->max_aspect.x = sh->min_width;