posixc.library: convert path unix2amiga in rmdir before passing to stdcio remove
[AROS.git] / rom / intuition / setpubscreenmodes.c
blobabc4698d092c2512d35bcb8d5e4941b114eb3bd1
1 /*
2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
3 Copyright © 2001-2003, The MorphOS Development Team. All Rights Reserved.
4 $Id$
5 */
7 #include "intuition_intern.h"
9 /*****************************************************************************
11 NAME */
12 #include <proto/intuition.h>
14 AROS_LH1(UWORD, SetPubScreenModes,
16 /* SYNOPSIS */
17 AROS_LHA(UWORD, modes, D0),
19 /* LOCATION */
20 struct IntuitionBase *, IntuitionBase, 91, Intuition)
22 /* FUNCTION
23 Specify global intuition public screen handling.
25 INPUTS
26 modes - The new set of flags to consider. Currently defined flags are:
27 SHANGHAI: Workbench windows are opened on the default public
28 screen.
29 POPPUBSCREEN: When a visitor window opens on a public screen, the
30 screen is brought to front.
32 RESULT
33 The flags set before the change was made.
35 NOTES
37 EXAMPLE
39 BUGS
41 SEE ALSO
43 OpenScreen()
45 INTERNALS
47 *****************************************************************************/
49 AROS_LIBFUNC_INIT
51 UWORD retval;
53 Forbid();
54 retval = GetPrivIBase(IntuitionBase)->pubScrGlobalMode;
55 GetPrivIBase(IntuitionBase)->pubScrGlobalMode = modes;
56 Permit();
58 return retval;
60 AROS_LIBFUNC_EXIT
61 } /* SetPubScreenModes */