LibGUI: Allow timeout with Window::wait_events

This commit is contained in:
2026-05-20 19:03:11 +03:00
parent 77796dd317
commit 7ce68b0488
2 changed files with 3 additions and 3 deletions

View File

@@ -66,7 +66,7 @@ namespace LibGUI
uint32_t width() const { return m_width; }
uint32_t height() const { return m_height; }
void wait_events();
void wait_events(const timespec* timeout = nullptr);
void poll_events();
void set_socket_error_callback(BAN::Function<void()> callback) { m_socket_error_callback = callback; }