summaryrefslogtreecommitdiff
path: root/clients/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'clients/window.c')
-rw-r--r--clients/window.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/clients/window.c b/clients/window.c
index 95796d46..450310e3 100644
--- a/clients/window.c
+++ b/clients/window.c
@@ -4218,8 +4218,7 @@ undo_resize(struct window *window)
if (window->pending_allocation.width == 0 &&
window->pending_allocation.height == 0) {
fprintf(stderr, "Error: Could not draw a surface, "
- "most likely due to insufficient disk space in "
- "%s (XDG_RUNTIME_DIR).\n", getenv("XDG_RUNTIME_DIR"));
+ "most likely due to insufficient memory");
exit(EXIT_FAILURE);
}
}