diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2002-08-21 16:51:28 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2002-08-21 16:51:28 +0000 |
commit | e579b7c94e00f999a6364dd52676cea81b823e97 (patch) | |
tree | a3295d47f0a55630abd655717871364c0f4dfc36 /sys | |
parent | db12988d36d83a91ef0128de678e8944a706cd19 (diff) |
Attach one screen resource, by default, to every wsdisplay device,
instead of zero, if the kernel configuration file does not override
this setting.
This enables X11 to work on multihead sparc{,64} configurations
without the need for an explicit wsconscfg invocation first.
If a non-default emulation is requested, the user can still delete this
automatic resources and recreate it with wsconscfg.
ok mickey@ jason@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/wscons/wsdisplay.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/wscons/wsdisplay.c b/sys/dev/wscons/wsdisplay.c index f4e75d1d948..fb442661d61 100644 --- a/sys/dev/wscons/wsdisplay.c +++ b/sys/dev/wscons/wsdisplay.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wsdisplay.c,v 1.47 2002/07/01 18:53:00 mickey Exp $ */ +/* $OpenBSD: wsdisplay.c,v 1.48 2002/08/21 16:51:27 miod Exp $ */ /* $NetBSD: wsdisplay.c,v 1.37.4.1 2000/06/30 16:27:53 simonb Exp $ */ /* @@ -249,7 +249,7 @@ struct consdev wsdisplay_cons = { }; #ifndef WSDISPLAY_DEFAULTSCREENS -# define WSDISPLAY_DEFAULTSCREENS 0 +# define WSDISPLAY_DEFAULTSCREENS 1 #endif int wsdisplay_defaultscreens = WSDISPLAY_DEFAULTSCREENS; |