mirror of
https://github.com/wizbright/waybox.git
synced 2026-02-08 10:06:42 -05:00
Implemented primary-selection support
Well, wl-clipboard works now anyway
This commit is contained in:
parent
af1a945c1c
commit
73d114ffbe
4 changed files with 32 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue