From 1d5e3bbc757a567c0f0dec4f169a2d597f42d8b5 Mon Sep 17 00:00:00 2001 From: patacongo Date: Sun, 20 May 2012 00:53:49 +0000 Subject: [PATCH] This should have been part of the 6.18 release but was lost somehow git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4752 42af7a65-404d-4744-a932-0658087f49c3 --- graphics/nxtk/nxtk_block.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/graphics/nxtk/nxtk_block.c b/graphics/nxtk/nxtk_block.c index d011525fe7b..11baf7f4f4e 100644 --- a/graphics/nxtk/nxtk_block.c +++ b/graphics/nxtk/nxtk_block.c @@ -93,15 +93,17 @@ * * Input Parameters: * hfwnd - The window to be blocked + * arg - An argument that will accompany the block messages (This is arg2 + * in the blocked callback). * * Return: * OK on success; ERROR on failure with errno set appropriately * ****************************************************************************/ -int nxtk_block(NXTKWINDOW hfwnd) +int nxtk_block(NXTKWINDOW hfwnd, FAR void *arg) { - return nx_block((NXWINDOW)hfwnd); + return nx_block((NXWINDOW)hfwnd, arg); } #endif /* CONFIG_NX_MULTIUSER */