diff options
Diffstat (limited to 'src/wayland.hpp')
-rw-r--r-- | src/wayland.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wayland.hpp b/src/wayland.hpp index 3b81e15..e2a1259 100644 --- a/src/wayland.hpp +++ b/src/wayland.hpp @@ -76,6 +76,11 @@ struct display { void flush(); int get_fd() const; int get_error(); + + // Lets just proxy this for the registry + inline void add_global_handler(char const *iface, registry::binder bind) { + this->r.add_global_handler(iface, bind); + } }; // _ _ |