emersion
e78252adab
Fix segfault in xwm_read_data_source
7 years ago
Dominique Martinet
7d1870c6f1
move xwm.h out of include/wlr
...
xwm.h was meant to be private, so move it to include/xwayland/xwm.h
We had an ifdef WLR_HAS_XCB_ICCCM in xwayland.h which was easy to move
to xwm, it is not safe to use the WLR_HAS_* in the public headers.
I checked a few of our current users and none rely on xwm.h being
public as expected (rootston, sway, hsroots)
7 years ago
Drew DeVault
1d9be89e2d
Revert "ELF Visibility"
7 years ago
Scott Anderson
86269052eb
Explicitly export EFL symbols
7 years ago
emersion
c2e1474010
Reformat all #include directives
7 years ago
emersion
38ed3b4245
seat: rename selection_source to selection_data_source, remove unused data_device
7 years ago
Dominique Martinet
41649a1f9a
xwm_selection_finish: set NULL seat for xwayland
...
While they could eventually be split appart, the current approach could lead to
double wl_list_remove() calls on selections which is incorrect
7 years ago
Dominique Martinet
bb0d888f25
xwayland selection: further cleanup on Xwayland exit
...
This is necessary if our last primary/clipboard selection was on Xwayland,
and we try to paste to native wayland after Xwayland died
7 years ago
Dominique Martinet
e5dd98c7f5
xwayland/selection: handle wl_array_add failure better
...
Just abort and deregister instead of trying to throw some input out,
which would have lead to inconsistent paste
7 years ago
Dominique Martinet
3eb4fa15ee
ENOMEM checks: consistently check wl_array_add return
7 years ago
emersion
1c9b09ca92
Add logging to selection message handlers
7 years ago
emersion
b3072f81fe
Allow calling xwm_set_seat with a NULL seat
7 years ago
emersion
998267e291
Fix primary selection not sent to xwayland when clipboard is empty
7 years ago
emersion
4a11609b76
Fix use-after-free when destroying selection sources
7 years ago
emersion
cdc21cdcff
Properly free selection sources
7 years ago
emersion
6dffaa7bb7
Implement xwayland primary selection sync
7 years ago
emersion
810c4b119b
Fix clipboard from xwayland to wayland
7 years ago
emersion
76dcb694c1
Send empty selection when clipboard is empty
7 years ago
emersion
b884025558
Deny access to clipboard if no xwayland window is focused
7 years ago
emersion
343efd0c20
Only reply to clipboard selection events
7 years ago
emersion
a4094c82c7
Support selection MIME types from wayland to xwayland
7 years ago
emersion
62a16a356d
Support selection MIME types from xwayland to wayland
7 years ago
emersion
6ef0219763
Merge branch 'master' into xwm-selection
7 years ago
Tony Crisci
4da4048189
remove todo
7 years ago
Tony Crisci
a4bb0574c4
selection fixes
7 years ago
Tony Crisci
52cda5653b
Revert "xwm: only take clipboard if window is focused"
...
This reverts commit e3542d879d
.
7 years ago
Tony Crisci
e3542d879d
xwm: only take clipboard if window is focused
7 years ago
Tony Crisci
b0683874e9
xwm: send selection data
7 years ago
Tony Crisci
ea6f77b484
xwm: get selection data
7 years ago
Tony Crisci
39e2ea8420
xwm: get selection targets
7 years ago
Tony Crisci
1ada1b7f0b
xwm: x11 data source
7 years ago
Tony Crisci
c67cf2e9e4
xwm: handle selection stubs
7 years ago
Tony Crisci
1f976a0f25
xwm: xfixes selection notify
7 years ago
Tony Crisci
444257b6b1
xwm: selection init
7 years ago
Tony Crisci
3880fb0a53
xwm: selection stubs
7 years ago