mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-06 13:29:45 -05:00
Explicitly export EFL symbols
This commit is contained in:
parent
f27c0b44b8
commit
86269052eb
54 changed files with 397 additions and 2 deletions
|
|
@ -9,6 +9,7 @@
|
|||
#include <wlr/util/log.h>
|
||||
#include <wlr/xwm.h>
|
||||
#include <xcb/xfixes.h>
|
||||
#include "util/defs.h"
|
||||
|
||||
static const size_t incr_chunk_size = 64 * 1024;
|
||||
|
||||
|
|
@ -805,6 +806,7 @@ static void selection_init(struct wlr_xwm *xwm,
|
|||
selection->atom, mask);
|
||||
}
|
||||
|
||||
WLR_API
|
||||
void xwm_selection_init(struct wlr_xwm *xwm) {
|
||||
uint32_t values[] = { XCB_EVENT_MASK_PROPERTY_CHANGE };
|
||||
xwm->selection_window = xcb_generate_id(xwm->xcb_conn);
|
||||
|
|
@ -828,6 +830,7 @@ void xwm_selection_init(struct wlr_xwm *xwm) {
|
|||
selection_init(xwm, &xwm->primary_selection, xwm->atoms[PRIMARY]);
|
||||
}
|
||||
|
||||
WLR_API
|
||||
void xwm_selection_finish(struct wlr_xwm *xwm) {
|
||||
if (!xwm) {
|
||||
return;
|
||||
|
|
@ -896,6 +899,7 @@ static void seat_handle_primary_selection(struct wl_listener *listener,
|
|||
xwm_selection_set_owner(&xwm->primary_selection, source != NULL);
|
||||
}
|
||||
|
||||
WLR_API
|
||||
void xwm_set_seat(struct wlr_xwm *xwm, struct wlr_seat *seat) {
|
||||
if (xwm->seat != NULL) {
|
||||
wl_list_remove(&xwm->seat_selection.link);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue