ctx->cursor_state = (ctx->cursor_state+1)%CURSOR_BLINK_TIMER_ZEROEVERY;
ctx->cursor_state = 1;
ctx->cursor_state = (ctx->cursor_state+1)%CURSOR_BLINK_TIMER_ZEROEVERY; if (!ctx->cursor_state && GetFocus() != hwnd) ctx->cursor_state=1;