mirror of
https://github.com/VincentWei/MiniGUI.git
synced 2026-09-26 03:23:46 +08:00
we do not genenrate MSG_TIMEOUT message any more
This commit is contained in:
+2
-1
@@ -112,7 +112,8 @@ static void ParseEvent (PLWEVENT lwe)
|
||||
Msg.message = MSG_TIMEOUT;
|
||||
Msg.wParam = (WPARAM)lwe->count;
|
||||
Msg.lParam = 0;
|
||||
QueueDeskMessage (&Msg);
|
||||
// Since 5.0.0, we do not genenrate MSG_TIMEOUT message any more.
|
||||
// QueueDeskMessage (&Msg);
|
||||
}
|
||||
else if (lwe->type == LWETYPE_KEY) {
|
||||
Msg.wParam = ke->scancode;
|
||||
|
||||
+2
-5
@@ -125,11 +125,8 @@ static void ParseEvent (PMSGQUEUE msg_que, int event)
|
||||
Msg.wParam = (WPARAM)lwe.count;
|
||||
Msg.lParam = 0;
|
||||
|
||||
/*
|
||||
* No need to send TIME_OUT message to the client
|
||||
* Send2Client (&Msg, CLIENT_ACTIVE);
|
||||
*/
|
||||
kernel_QueueMessage (msg_que, &Msg);
|
||||
// Since 5.0.0, we do not genenrate MSG_TIMEOUT message any more.
|
||||
// kernel_QueueMessage (msg_que, &Msg);
|
||||
}
|
||||
else if (lwe.type == LWETYPE_KEY) {
|
||||
Msg.wParam = ke->scancode;
|
||||
|
||||
@@ -107,7 +107,8 @@ static void ParseEvent (PMSGQUEUE msg_que, int event)
|
||||
Msg.wParam = (WPARAM)lwe.count;
|
||||
Msg.lParam = 0;
|
||||
|
||||
kernel_QueueMessage (msg_que, &Msg);
|
||||
// Since 5.0.0, we do not genenrate MSG_TIMEOUT message any more.
|
||||
// kernel_QueueMessage (msg_que, &Msg);
|
||||
}
|
||||
else if (lwe.type == LWETYPE_KEY) {
|
||||
Msg.wParam = ke->scancode;
|
||||
|
||||
Reference in New Issue
Block a user