aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-10-27 17:51:14 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-10-27 17:51:14 +0000
commit1adab32906b5455781921b779019a6d3f0e4fe56 (patch)
tree759bc5378613ec071d504c6c16dc19bd372dc428 /terminal.h
parentwayland: pull in sys/time.h, for 'struct timeval' (diff)
term: wayland struct is now not a part of the terminal struct
We do however need access to it, so provide a pointer. The difference is that now we can have a *single* wayland instance, but multiple terminal instances.
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/terminal.h b/terminal.h
index 7d7d1fcd..724bc6f1 100644
--- a/terminal.h
+++ b/terminal.h
@@ -246,7 +246,7 @@ struct terminal {
int max_x_advance;
} fextents;
- struct wayland wl;
+ struct wayland *wl;
struct wl_window window;
struct {