Skip to content

Commit 010edbf

Browse files
committed
SessionRestore: sleeping a moment after wake up
and logging about it
1 parent 7dcbd44 commit 010edbf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

SessionRestore/sessionrestore.ahk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,8 @@ sessionrestore_handle_session_change(p_w, p_l, p_m, p_hw) {
167167
;sessionrestore_session_save()
168168
}
169169
else if ( p_w = WTS_SESSION_UNLOCK ) {
170+
a2log_info("Unlocked. Calling restore ...", "SessionRestore")
171+
Sleep, 1000
170172
sessionrestore_session_restore()
171173
}
172174
}

0 commit comments

Comments
 (0)