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
This commit is contained in:
Peter Åstrand 2002-11-19 14:22:47 +00:00
parent eb45995b16
commit 6ac3e36bc3

3
xwin.c
View File

@ -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;
}
}