Implemented primary-selection support

Well, wl-clipboard works now anyway
This commit is contained in:
Keith Bowes 2020-03-10 22:18:08 -04:00
parent af1a945c1c
commit 73d114ffbe
4 changed files with 32 additions and 2 deletions

View file

@ -2,6 +2,8 @@
#define _WB_SEAT_H
#include <wlr/types/wlr_keyboard.h>
#include <wlr/types/wlr_primary_selection.h>
#include <wlr/types/wlr_primary_selection_v1.h>
#include <wlr/types/wlr_seat.h>
#include "waybox/server.h"
@ -10,6 +12,9 @@ struct wb_seat {
struct wlr_seat *seat;
struct wl_list keyboards;
struct wl_listener request_set_primary_selection;
struct wl_listener request_set_selection;
};
struct wb_keyboard {

View file

@ -16,7 +16,6 @@
#include <wlr/types/wlr_screencopy_v1.h>
#include <wlr/types/wlr_matrix.h>
#include <wlr/types/wlr_gamma_control_v1.h>
#include <wlr/types/wlr_primary_selection_v1.h>
#include <wlr/types/wlr_output_layout.h>
#include <wlr/types/wlr_xdg_shell.h>