diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-03-15 12:36:35 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-03-15 12:36:35 +0000 |
| commit | 71fde3bfac37f4a67f33ecd7888ee6c134162a95 (patch) | |
| tree | c7b7688ce944976423f572b6b252173627676e3b /wayland.h | |
| parent | completions: zsh: don't strip spaces from font name completions (diff) | |
wayland: store display FD in wayland struct
This way we:
* Don't have to call wl_display_get_fd() all the time
* No longer call fdm_del_no_close() even though the FD hasn't been
added to the FDM.
Diffstat (limited to 'wayland.h')
| -rw-r--r-- | wayland.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -198,6 +198,9 @@ struct terminal; struct wayland { const struct config *conf; struct fdm *fdm; + + int fd; + struct wl_display *display; struct wl_registry *registry; struct wl_compositor *compositor; |
