2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
3 Copyright © 2001-2003, The MorphOS Development Team. All Rights Reserved.
7 #include "intuition_intern.h"
9 /*****************************************************************************
12 #include <proto/intuition.h>
14 AROS_LH2(LONG
, SetMouseQueue
,
17 AROS_LHA(struct Window
*, window
, A0
),
18 AROS_LHA(UWORD
, queuelength
, D0
),
21 struct IntuitionBase
*, IntuitionBase
, 83, Intuition
)
24 Change the number of mouse messages for your window to be allowed
29 queuelength - the number of mouse messages to be allowed to be
33 Returns -1 if the window is unknown otherwise the old value of the
34 queuelength is returned.
37 There should be a function for changing the repeat key queue limit, too.
50 *****************************************************************************/
56 IntuitionBase
= IntuitionBase
; /* shut up the compiler */
58 SANITY_CHECKR(window
,-1)
60 result
= ((struct IntWindow
*)window
)->mousequeue
;
61 ((struct IntWindow
*)window
)->mousequeue
= queuelength
;