mirror of
https://github.com/VincentWei/MiniGUI.git
synced 2026-02-06 10:21:57 +08:00
SetDesktopTimerFlag -> AlertDesktopTimerEvent
This commit is contained in:
@@ -133,6 +133,8 @@ tab2space() {
|
||||
|
||||
#sed -i 's/\<ZOF_TYPE_TOPMOST\>/__ZOF_TYPE_HIGHER/g' `grep ZOF_TYPE_TOPMOST -rl include/ src/`
|
||||
|
||||
sed -i 's/\<__ZOF_TYPE_HIGHER\>/ZOF_TYPE_HIGHER/g' `grep __ZOF_TYPE_HIGHER -rl include/ src/`
|
||||
# sed -i 's/\<__ZOF_TYPE_HIGHER\>/ZOF_TYPE_HIGHER/g' `grep __ZOF_TYPE_HIGHER -rl include/ src/`
|
||||
|
||||
sed -i 's/\<SetDesktopTimerFlag\>/AlertDesktopTimerEvent/g' `grep SetDesktopTimerFlag -rl include/ src/`
|
||||
|
||||
exit 0
|
||||
|
||||
@@ -365,7 +365,7 @@ static void check_live (void)
|
||||
REQUEST req;
|
||||
|
||||
if (__mg_timer_counter != SHAREDRES_TIMER_COUNTER) {
|
||||
SetDesktopTimerFlag ();
|
||||
AlertDesktopTimerEvent ();
|
||||
__mg_timer_counter = SHAREDRES_TIMER_COUNTER;
|
||||
}
|
||||
|
||||
|
||||
@@ -354,7 +354,7 @@ BOOL server_IdleHandler4Server (PMSGQUEUE msg_queue, BOOL wait)
|
||||
|
||||
if (__mg_timer_counter != SHAREDRES_TIMER_COUNTER) {
|
||||
__mg_timer_counter = SHAREDRES_TIMER_COUNTER;
|
||||
SetDesktopTimerFlag ();
|
||||
AlertDesktopTimerEvent ();
|
||||
}
|
||||
|
||||
/* rset gets modified each time around */
|
||||
|
||||
@@ -239,7 +239,7 @@ BOOL salone_IdleHandler4StandAlone (PMSGQUEUE msg_queue, BOOL wait)
|
||||
|
||||
if (old_timer_counter != __mg_timer_counter) {
|
||||
old_timer_counter = __mg_timer_counter;
|
||||
SetDesktopTimerFlag ();
|
||||
AlertDesktopTimerEvent ();
|
||||
}
|
||||
|
||||
/* rset gets modified each time around */
|
||||
|
||||
Reference in New Issue
Block a user