wayland: oops! we have MwTimeGetTick, we should use that (even though I'm not sure if that's consistent across platforms. but it will at least compile
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
This commit is contained in:
parent
052863dcfe
commit
884c05acb7
3 changed files with 10 additions and 12 deletions
|
|
@ -838,7 +838,7 @@ static void keyboard_key(void* data,
|
|||
MwLLDispatch(self, key_released, &key);
|
||||
self->wayland.holding_key = MwFALSE;
|
||||
}
|
||||
clock_gettime(CLOCK_REALTIME, &self->wayland.start_time);
|
||||
self->wayland.start_time = MwTimeGetTick();
|
||||
self->wayland.next_elapsed = self->wayland.keyboard_delay;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue