Merge pull request #20 from keithbowes/primary-selection

Implemented primary-selection support
This commit is contained in:
Keith Bowes 2021-04-06 16:42:11 -04:00 committed by GitHub
commit 69ac866970
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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>
#include <wlr/util/log.h>