summaryrefslogtreecommitdiff
path: root/xrandr.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2008-03-21 03:17:40 -0700
committerKeith Packard <keithp@keithp.com>2008-03-21 03:17:40 -0700
commit46bd35dd9004c0f9f47dc44b77a8c28e3ab7ced1 (patch)
treec65b48218bafdc4d7d1d5553f18c4ba26d1d63a0 /xrandr.c
parentb816bf38b418618c2f1cb5ded09aa3b346f8eb15 (diff)
Make screen undersize a warning instead of an error
Diffstat (limited to 'xrandr.c')
-rw-r--r--xrandr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xrandr.c b/xrandr.c
index 630697d..d5c0bc8 100644
--- a/xrandr.c
+++ b/xrandr.c
@@ -1670,8 +1670,8 @@ set_screen_size (void)
if (fb_specified)
{
if (x + w > fb_width || y + h > fb_height)
- fatal ("specified screen %dx%d not large enough for output %s (%dx%d+%d+%d)\n",
- fb_width, fb_height, output->output.string, w, h, x, y);
+ warning ("specified screen %dx%d not large enough for output %s (%dx%d+%d+%d)\n",
+ fb_width, fb_height, output->output.string, w, h, x, y);
}
/* fit fb to output */
else