2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
9 #include <exec/types.h>
10 #include <proto/exec.h>
11 #include <proto/reqtools.h>
12 #include <exec/libraries.h>
13 #include <exec/memory.h>
14 #include <aros/libcall.h>
16 #include "reqtools_intern.h"
19 /*****************************************************************************
23 AROS_LH2(VOID
, rtUnlockWindow
,
27 AROS_LHA(struct Window
*, window
, A0
),
28 AROS_LHA(APTR
, windowlock
, A1
),
32 struct ReqToolsBase
*, ReqToolsBase
, 27, ReqTools
)
35 Unlock a window previously locked with rtLockWindow(). The window
36 will once again accept user input and will get its original mouse
37 pointer back (default or custom).
39 Under Kickstart V39 or higher the original window pointer will not
40 be restored if it was set using SetWindowPointer(). You will have to
41 restore the pointer yourself in this case.
44 window - pointer to the window to be unlocked.
45 windowlock - the windowlock pointer returned by rtLockWindow(), may
52 The mouse pointer has to be set back manually for now.
63 Needs semaphores to avoid race condition problems for multithreaded
68 ******************************************************************************/
72 RTFuncs_rtUnlockWindow(window
, windowlock
);
76 } /* rtUnlockWindow */