diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-11-20 08:51:40 -0500 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2017-11-20 08:51:40 -0500 |
commit | 444257b6b17935be5dff11791e9ac9d52cf811b7 (patch) | |
tree | 53a44251b94141f11c3c6874f3679440cc0b2287 /xwayland/xwm.c | |
parent | 3880fb0a532d50d8efe1e080fc3e047d5d00bbfe (diff) |
xwm: selection init
Diffstat (limited to 'xwayland/xwm.c')
-rw-r--r-- | xwayland/xwm.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xwayland/xwm.c b/xwayland/xwm.c index c10aab47..febe1ea2 100644 --- a/xwayland/xwm.c +++ b/xwayland/xwm.c @@ -43,6 +43,9 @@ const char *atom_map[ATOM_LAST] = { "_NET_WM_STATE_MAXIMIZED_VERT", "_NET_WM_STATE_MAXIMIZED_HORZ", "WM_STATE", + "CLIPBOARD", + "_WL_SELECTION", + "CLIPBOARD_MANAGER", }; /* General helpers */ @@ -1339,6 +1342,8 @@ struct wlr_xwm *xwm_create(struct wlr_xwayland *wlr_xwayland) { xwm_set_net_active_window(xwm, XCB_WINDOW_NONE); + xwm_selection_init(xwm); + xwm->compositor_surface_create.notify = handle_compositor_surface_create; wl_signal_add(&wlr_xwayland->compositor->events.create_surface, &xwm->compositor_surface_create); |