|
| bool | dispatch (std::chrono::milliseconds timeout) |
| | Waits up to the specified timeout to dispatch new events on the wl_display.
|
| |
|
display_internal_t::pointer | get () |
| |
| int | init (const char *display_name=nullptr) |
| | Initialize display. If display_name == nullptr -> display_name = std::getenv("WAYLAND_DISPLAY")
|
| |
|
wl_registry * | registry () |
| |
|
void | roundtrip () |
| |
◆ dispatch()
| bool wl::display_t::dispatch |
( |
std::chrono::milliseconds | timeout | ) |
|
Waits up to the specified timeout to dispatch new events on the wl_display.
- Parameters
-
| timeout | The timeout in milliseconds. |
- Returns
true if new events were dispatched or false if the timeout expired.
◆ init()
| int wl::display_t::init |
( |
const char * | display_name = nullptr | ) |
|
Initialize display. If display_name == nullptr -> display_name = std::getenv("WAYLAND_DISPLAY")
- Parameters
-
| display_name | The name of the display. |
- Returns
- 0 on success, -1 on failure.
The documentation for this class was generated from the following files: