Remove MainThreadHook

This commit is contained in:
jojo61
2025-03-01 14:22:06 +01:00
parent ad99776be8
commit eb94d75584
3 changed files with 1 additions and 31 deletions

View File

@@ -3211,18 +3211,6 @@ void Housekeeping(void) {
}
}
/**
** Main thread hook, periodic called from main thread.
*/
void MainThreadHook(void) {
if (Usr1Signal) { // x11 server ready
// FIYME: x11 server keeps sending sigusr1 signals
signal(SIGUSR1, SIG_IGN); // ignore further signals
Usr1Signal = 0;
StartVideo();
VideoDisplayWakeup();
}
}
//////////////////////////////////////////////////////////////////////////////
// Suspend/Resume