[client] main: fix invalid bit logic

This commit is contained in:
Geoffrey McRae 2022-02-10 20:42:25 +11:00
parent 8b4551c39c
commit 202116786c

View File

@ -758,7 +758,7 @@ int main_frameThread(void * unused)
break;
}
if (frame->flags && FRAME_FLAG_REQUEST_ACTIVATION)
if (frame->flags & FRAME_FLAG_REQUEST_ACTIVATION)
g_state.ds->requestActivation();
const bool blockScreensaver = frame->flags & FRAME_FLAG_BLOCK_SCREENSAVER;