mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-29 21:46:40 +00:00
Merge branch 'master' into mpx
Conflicts: XTrap/xtrapddmi.c Xext/security.c Xext/xprint.c Xext/xtest.c Xext/xvdisp.c Xi/exevents.c Xi/grabdevb.c Xi/grabdevk.c Xi/opendev.c Xi/ungrdev.c Xi/ungrdevb.c Xi/ungrdevk.c dix/cursor.c dix/devices.c dix/dixutils.c dix/events.c dix/getevents.c dix/main.c dix/window.c hw/xfree86/ramdac/xf86Cursor.c include/dix.h include/input.h include/inputstr.h mi/midispcur.c mi/miinitext.c mi/misprite.c render/animcur.c xfixes/cursor.c xkb/xkbAccessX.c
This commit is contained in:
commit
8da83836b6
718 changed files with 11577 additions and 33702 deletions
20
os/utils.c
20
os/utils.c
|
|
@ -123,9 +123,6 @@ OR PERFORMANCE OF THIS SOFTWARE.
|
|||
#ifdef XKB
|
||||
#include <xkbsrv.h>
|
||||
#endif
|
||||
#ifdef XCSECURITY
|
||||
#include "securitysrv.h"
|
||||
#endif
|
||||
|
||||
#ifdef RENDER
|
||||
#include "picture.h"
|
||||
|
|
@ -623,9 +620,6 @@ void UseMsg(void)
|
|||
ErrorF("-render [default|mono|gray|color] set render color alloc policy\n");
|
||||
#endif
|
||||
ErrorF("-s # screen-saver timeout (minutes)\n");
|
||||
#ifdef XCSECURITY
|
||||
ErrorF("-sp file security policy file\n");
|
||||
#endif
|
||||
#ifdef XPRINT
|
||||
PrinterUseMsg();
|
||||
#endif
|
||||
|
|
@ -935,6 +929,10 @@ ProcessCommandLine(int argc, char *argv[])
|
|||
else
|
||||
UseMsg();
|
||||
}
|
||||
else if (strcmp(argv[i], "-pogo") == 0)
|
||||
{
|
||||
dispatchException = DE_TERMINATE;
|
||||
}
|
||||
else if ( strcmp( argv[i], "-pn") == 0)
|
||||
PartialNetwork = TRUE;
|
||||
else if ( strcmp( argv[i], "-nopn") == 0)
|
||||
|
|
@ -1042,12 +1040,6 @@ ProcessCommandLine(int argc, char *argv[])
|
|||
i = skip - 1;
|
||||
}
|
||||
#endif
|
||||
#ifdef XCSECURITY
|
||||
else if ((skip = XSecurityOptions(argc, argv, i)) != i)
|
||||
{
|
||||
i = skip - 1;
|
||||
}
|
||||
#endif
|
||||
#ifdef AIXV3
|
||||
else if ( strcmp( argv[i], "-timeout") == 0)
|
||||
{
|
||||
|
|
@ -1522,6 +1514,8 @@ SmartScheduleStopTimer (void)
|
|||
#ifdef SMART_SCHEDULE_POSSIBLE
|
||||
struct itimerval timer;
|
||||
|
||||
if (SmartScheduleDisable)
|
||||
return;
|
||||
timer.it_interval.tv_sec = 0;
|
||||
timer.it_interval.tv_usec = 0;
|
||||
timer.it_value.tv_sec = 0;
|
||||
|
|
@ -1536,6 +1530,8 @@ SmartScheduleStartTimer (void)
|
|||
#ifdef SMART_SCHEDULE_POSSIBLE
|
||||
struct itimerval timer;
|
||||
|
||||
if (SmartScheduleDisable)
|
||||
return;
|
||||
timer.it_interval.tv_sec = 0;
|
||||
timer.it_interval.tv_usec = SmartScheduleInterval * 1000;
|
||||
timer.it_value.tv_sec = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue