mirror of
https://github.com/VincentWei/MiniGUI.git
synced 2026-02-07 19:37:00 +08:00
pass zorder_info to dskSetActiveZOrderNode
This commit is contained in:
@@ -104,7 +104,7 @@ static PMAINWIN dskSetActiveWindow (PMAINWIN pWin)
|
||||
if (pWin == pOldActive)
|
||||
return pOldActive;
|
||||
|
||||
pOldActive = (PMAINWIN) dskSetActiveZOrderNode (0, pWin?pWin->idx_znode:0);
|
||||
pOldActive = (PMAINWIN) dskSetActiveZOrderNode (__mg_zorder_info, 0, pWin?pWin->idx_znode:0);
|
||||
|
||||
#ifndef _MGRM_PROCESSES /*for MiniGUI-Threads, not for MiniGUI-StandAlone*/
|
||||
if (pOldActive != (PMAINWIN)HWND_INVALID && __mg_ime_wnd)
|
||||
@@ -667,7 +667,7 @@ static LRESULT KeyMessageHandler (UINT message, int scancode, DWORD status)
|
||||
|
||||
if (next_node) {
|
||||
dskMove2Top (0, next_node);
|
||||
dskSetActiveZOrderNode (0, next_node);
|
||||
dskSetActiveZOrderNode (__mg_zorder_info, 0, next_node);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user