This adds a basic library and support to dtsession and dtlogin to support Xinerama/Twinview, where multimple monitors are used to make up an X11 screen. The main goal here is to draw dialogs and such centered on a monitor, rather than spread out over multiple monitors. Might need to add sorting - as on my test system, what I would consider monitor 0, appears to actually be monitor 1. So a sort might need to be added to sort the screens according to increasing x and y offsets so it make sense to a user. Also, this library is built statically and not documented. Maybe it could be 'filled' out and refactored/redesigned in the futre if need be and suppoerted. It is enabled via a define, CDE_USEXINERAMA in site.def. It's a very simple lib, so I do not expect any issues with the BSD's - it should build and work fine, assuming your X server has the XINERAMA extension, which I think pretty much all of them do at this point.
36 lines
1.1 KiB
Plaintext
36 lines
1.1 KiB
Plaintext
!######################################################################
|
|
!#
|
|
!# Dtsession
|
|
!#
|
|
!# Common Desktop Environment (CDE)
|
|
!#
|
|
!# (c) Copyright 1993, 1994 Hewlett-Packard Company
|
|
!# (c) Copyright 1993, 1994 International Business Machines Corp.
|
|
!# (c) Copyright 1993, 1994 Sun Microsystems, Inc.
|
|
!# (c) Copyright 1993, 1994 Novell, Inc.
|
|
!#
|
|
!# Application Defaults for the CDE DT Session Manager
|
|
!#
|
|
!# $XConsortium: Dtsession.src /main/5 1996/04/21 19:51:03 drk $
|
|
!#
|
|
!######################################################################
|
|
|
|
XCOMM include "Dt"
|
|
|
|
!#Dtsession*wmStartupCommand: CDE_INSTALLATION_TOP/bin/dtwm
|
|
!#Dtsession*coverScreen: False
|
|
|
|
Dtsession*drawArea.background: black
|
|
#ifdef __osf__
|
|
Dtsession*lockLabelPixmap.imageName: DECDtlogo
|
|
#else
|
|
Dtsession*lockLabelPixmap.imageName: Dtlogo
|
|
#endif
|
|
|
|
Dtsession*ignoreEnvironment: DISPLAY,SESSION_MANAGER,AUDIOSERVER
|
|
|
|
!# Selects the desired screen for certain dialogs (exit confirmation,
|
|
!# screen saver password, etc) for use in a Xinerama configuration.
|
|
|
|
Dtsession*xineramaPreferredScreen: 0
|