mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
Add closing with WM button
This commit is contained in:
parent
ce76cfba0f
commit
6bf508df81
2 changed files with 39 additions and 11 deletions
|
|
@ -19,8 +19,14 @@ struct wlr_x11_output {
|
|||
EGLSurface surf;
|
||||
};
|
||||
|
||||
struct wlr_x11_atom {
|
||||
xcb_intern_atom_cookie_t cookie;
|
||||
xcb_intern_atom_reply_t *reply;
|
||||
};
|
||||
|
||||
struct wlr_x11_backend {
|
||||
struct wlr_backend backend;
|
||||
struct wl_display *wl_display;
|
||||
|
||||
Display *xlib_conn;
|
||||
xcb_connection_t *xcb_conn;
|
||||
|
|
@ -37,6 +43,11 @@ struct wlr_x11_backend {
|
|||
struct wlr_egl egl;
|
||||
struct wl_event_source *event_source;
|
||||
struct wl_event_source *frame_timer;
|
||||
|
||||
struct {
|
||||
struct wlr_x11_atom wm_protocols;
|
||||
struct wlr_x11_atom wm_delete_window;
|
||||
} atoms;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue