diff options
Diffstat (limited to 'src/wayland.cpp')
-rw-r--r-- | src/wayland.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wayland.cpp b/src/wayland.cpp index b4f4800..b81f140 100644 --- a/src/wayland.cpp +++ b/src/wayland.cpp @@ -32,6 +32,10 @@ void display::roundtrip() { wl_display_roundtrip(this->d.get()); } int display::dispatch() { return wl_display_dispatch(this->d.get()); } +void display::flush() { wl_display_flush(this->d.get()); } + +int display::get_fd() const { return wl_display_get_fd(this->d.get()); } + // _ _ // _ __ ___ __ _(_)___| |_ _ __ _ _ // | '__/ _ \/ _` | / __| __| '__| | | | |