mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-01-08 11:08:29 -05:00
xwm: selection init
This commit is contained in:
parent
3880fb0a53
commit
444257b6b1
3 changed files with 68 additions and 5 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue