Updated PCI IDs to latest snapshot.
[tangerine.git] / rom / intuition / setpubscreenmodes.c
blob42860728c9e8b49e8ba6358722ef010eff67e7e3
1 /*
2 Copyright © 1995-2007, 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
24 Specify global intuition public screen handling.
26 INPUTS
28 modes -- The new set of flags to consider. Currently defined flags are:
29 SHANGHAI Workbench windows are opened on the default
30 public screen.
31 POPPUBSCREEN When a visitor window opens on a public screen,
32 the screen is brought to front.
34 RESULT
36 The flags set before the change was made.
38 NOTES
40 EXAMPLE
42 BUGS
44 SEE ALSO
46 OpenScreen()
48 INTERNALS
50 HISTORY
52 24-06-98 SDuvan Implemented
54 *****************************************************************************/
55 #define GPB(x) GetPrivIBase(x)
58 AROS_LIBFUNC_INIT
60 UWORD retval;
62 Forbid();
63 retval = GPB(IntuitionBase)->pubScrGlobalMode;
64 GPB(IntuitionBase)->pubScrGlobalMode = modes;
65 Permit();
67 return retval;
69 AROS_LIBFUNC_EXIT
70 } /* SetPubScreenModes */