1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

Fix screen locking for BSDs

This commit is contained in:
Ulrich Wilkens 2013-05-29 00:30:06 +02:00 committed by Jon Trulson
parent 1d8f86a6ba
commit 6f56ab0e42
3 changed files with 6 additions and 1 deletions

View file

@ -23,6 +23,8 @@ XCOMM include "Dt"
Dtsession*drawArea.background: black
#ifdef __osf__
Dtsession*lockLabelPixmap.imageName: DECDtlogo
#elif __FreeBSD__
Dtsession*lockLabelPixmap.imageName: FreeBSDDtlogo
#else
Dtsession*lockLabelPixmap.imageName: Dtlogo
#endif

View file

@ -101,6 +101,9 @@ static int RegisterX11ScreenSaver(Display *display, int *ssEventType);
#ifdef SVR4
#define SECURE_SYS_PATH "/etc/shadow"
#endif
#ifdef CSRG_BASED
#define SECURE_SYS_PATH "/etc/master.passwd"
#endif

View file

@ -239,7 +239,7 @@ SmSaverParseSaverList(
int i = 0;
char * tmpStr;
int len = strlen(saverList);
int bytes = sizeof(int);
int bytes = sizeof(long);
char *p;
SmSaverParseStruct *pstruct;