add MwAfterStep

This commit is contained in:
Nishi 2026-04-07 22:56:37 +09:00
commit f5f7279ad1
Signed by: nishi
GPG key ID: 27EF69B208EB9343
2 changed files with 2 additions and 0 deletions

View file

@ -257,6 +257,7 @@ void login_window(void) {
while(MwPending(root)) {
if((s = MwStep(root)) != 0) break;
}
MwAfterStep(root);
pthread_mutex_unlock(&xmutex);
if(s != 0) break;

View file

@ -63,6 +63,7 @@ void loop_wm(void) {
while(MwPending(root)) {
if((s = MwStep(root)) != 0) break;
}
MwAfterStep(root);
pthread_mutex_unlock(&xmutex);
if(s != 0) break;