poll events while focused
more responsive
This commit is contained in:
@@ -243,7 +243,7 @@ pub fn main() !void {
|
||||
const flight = flights.next();
|
||||
|
||||
const events = if (au.W.focused())
|
||||
au.wait_events_timeout(0.1)
|
||||
au.poll_events()
|
||||
else
|
||||
au.wait_events_timeout(0.5);
|
||||
|
||||
|
Reference in New Issue
Block a user