Code Review
/
staging
/
windowmanager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
main: pass struct conn by-reference to init_layout()
[staging/windowmanager.git]
/
src
/
wayland.hpp
diff --git
a/src/wayland.hpp
b/src/wayland.hpp
index
ba1effd
..
7ff1145
100644
(file)
--- a/
src/wayland.hpp
+++ b/
src/wayland.hpp
@@
-66,8
+66,7
@@
struct registry : public wayland_proxy<struct wl_registry> {
// \__,_|_|___/ .__/|_|\__,_|\__, |
// |_| |___/
struct display {
- std::unique_ptr<struct wl_display, std::function<void(struct wl_display *)>>
- d;
+ std::unique_ptr<struct wl_display, void(*)(struct wl_display *)> d;
struct registry r;
display();