mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-22 05:33:45 -04:00
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.
This commit is contained in:
parent
4860c3eb37
commit
71fde3bfac
2 changed files with 9 additions and 6 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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue