diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-11-29 14:59:02 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-11-29 14:59:02 +0000 |
commit | c445c58bb8cf0c392059ed898b0e987b0e85e666 (patch) | |
tree | 3a0f4c0808511bbdfb5c288d44ec996b05e01140 /nuttx/graphics/nxmu/nxmu_openwindow.c | |
parent | 94ade9753269d0a0ba330a4bdb3ec1e5cffe99ac (diff) | |
download | px4-nuttx-c445c58bb8cf0c392059ed898b0e987b0e85e666.tar.gz px4-nuttx-c445c58bb8cf0c392059ed898b0e987b0e85e666.tar.bz2 px4-nuttx-c445c58bb8cf0c392059ed898b0e987b0e85e666.zip |
Add APIs to get access to background
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1343 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/graphics/nxmu/nxmu_openwindow.c')
-rw-r--r-- | nuttx/graphics/nxmu/nxmu_openwindow.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/nuttx/graphics/nxmu/nxmu_openwindow.c b/nuttx/graphics/nxmu/nxmu_openwindow.c index 159651793..13a69d466 100644 --- a/nuttx/graphics/nxmu/nxmu_openwindow.c +++ b/nuttx/graphics/nxmu/nxmu_openwindow.c @@ -77,7 +77,7 @@ * conn - The client containing connection information [IN] * be - The server state structure [IN] * wnd - The pre-allocated window structure to be ininitilized [IN/OUT] - * cb - Callbacks used to process window events + * cb - Callbacks used to process window events * * Return: * None @@ -108,7 +108,11 @@ void nxmu_openwindow(FAR struct nxfe_conn_s *conn, be->topwnd->above = wnd; be->topwnd = wnd; - /* Provide the initial mouse settings */ + /* Report the initial size/position of the window to the client */ + + nxfe_reportposition((NXWINDOW)wnd); + + /* Provide the initial mouse settings to the client */ #ifdef CONFIG_NX_MOUSE nxmu_mousereport(wnd); |