tests/test-runner: Add 'sleep suspend_timeout' command

It's a tweak to the 'sleep' command to allow well known sleep lengths.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3213>
This commit is contained in:
Jonas Ådahl
2023-08-25 15:47:05 +02:00
parent 5071a6df87
commit b743cc3528
3 changed files with 19 additions and 7 deletions

View File

@ -7999,3 +7999,9 @@ meta_window_calculate_bounds (MetaWindow *window,
return FALSE;
}
}
int
meta_get_window_suspend_timeout_s (void)
{
return SUSPEND_HIDDEN_TIMEOUT_S;
}