From 6ac3e36bc32f3f4c3009be92f23a4817c1589d41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20=C3=85strand?= Date: Tue, 19 Nov 2002 14:22:47 +0000 Subject: [PATCH] Made -g workarea a bit less fatal when the WM does not support _NET_WORKAREA: defaulting to 800x600. git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@272 423420c4-83ab-492f-b58f-81f9feb106b5 --- xwin.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xwin.c b/xwin.c index 34e111c..6c9ea0b 100644 --- a/xwin.c +++ b/xwin.c @@ -307,7 +307,8 @@ ui_init(void) { error("Failed to get workarea.\n"); error("Perhaps your window manager does not support EWMH?\n"); - exit(1); + error("Defaulting to geometry 800x600\n"); + width = 800; height = 600; } }