mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-03-21 18:00:37 +01:00
tools/record: add some curly braces
list_for_each is just a fancy for loop but it looks weird without braces. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
c83c739a8c
commit
6c32f78020
1 changed files with 2 additions and 1 deletions
|
|
@ -2289,8 +2289,9 @@ mainloop(struct record_context *ctx)
|
|||
*/
|
||||
had_events = true;
|
||||
had_events_since_last_time = true;
|
||||
list_for_each(d, &ctx->devices, link)
|
||||
list_for_each(d, &ctx->devices, link) {
|
||||
handle_events(ctx, d, d == first_device);
|
||||
}
|
||||
|
||||
/* This shouldn't pull any events off unless caused
|
||||
* by libinput-internal timeouts (e.g. tapping) */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue