emersion
6fd50947bd
xwayland: improve error handling
2018-03-28 21:36:53 -04:00
emersion
3effe153bc
xwayland: make wayland → xwayland work
2018-03-28 17:32:52 -04:00
emersion
30babb3865
xwayland: send DND_LEAVE
2018-03-28 16:26:45 -04:00
emersion
e208f8dd8c
xwayland: fixes events not flushed causing issues with GTK apps
2018-03-28 16:06:49 -04:00
emersion
2a34b154e6
xwayland: send DND_DROP
2018-03-28 15:33:23 -04:00
emersion
73394deb76
xwayland: send DND_POSITION
2018-03-28 14:16:14 -04:00
emersion
0d7a81ccdf
xwayland: send DND_ENTER
2018-03-28 12:59:11 -04:00
emersion
b6c1760de5
xwayland: create DND window, add DND atom helpers
2018-03-27 12:04:37 -04:00
emersion
e78252adab
Fix segfault in xwm_read_data_source
2018-03-25 18:18:26 -04:00
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)
2018-03-03 17:03:21 +01:00
Drew DeVault
1d9be89e2d
Revert "ELF Visibility"
2018-02-19 18:01:27 -05:00
Scott Anderson
86269052eb
Explicitly export EFL symbols
2018-02-19 14:26:40 +13:00
emersion
c2e1474010
Reformat all #include directives
2018-02-12 21:29:23 +01:00
emersion
38ed3b4245
seat: rename selection_source to selection_data_source, remove unused data_device
2017-12-30 09:58:04 +01:00
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
2017-12-29 20:30:49 +01:00
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
2017-12-29 16:30:59 +01:00
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
2017-12-28 12:17:57 +01:00
Dominique Martinet
3eb4fa15ee
ENOMEM checks: consistently check wl_array_add return
2017-12-28 09:48:35 +01:00
emersion
1c9b09ca92
Add logging to selection message handlers
2017-12-27 11:58:51 +01:00
emersion
b3072f81fe
Allow calling xwm_set_seat with a NULL seat
2017-12-27 11:49:25 +01:00
emersion
998267e291
Fix primary selection not sent to xwayland when clipboard is empty
2017-12-26 12:20:01 +01:00
emersion
4a11609b76
Fix use-after-free when destroying selection sources
2017-12-25 18:18:26 +01:00
emersion
cdc21cdcff
Properly free selection sources
2017-12-25 16:23:17 +01:00
emersion
6dffaa7bb7
Implement xwayland primary selection sync
2017-12-25 16:10:16 +01:00
emersion
810c4b119b
Fix clipboard from xwayland to wayland
2017-12-15 09:42:42 +01:00
emersion
76dcb694c1
Send empty selection when clipboard is empty
2017-12-15 09:37:04 +01:00
emersion
b884025558
Deny access to clipboard if no xwayland window is focused
2017-12-14 23:57:44 +01:00
emersion
343efd0c20
Only reply to clipboard selection events
2017-12-14 16:44:30 +01:00
emersion
a4094c82c7
Support selection MIME types from wayland to xwayland
2017-12-14 16:24:12 +01:00
emersion
62a16a356d
Support selection MIME types from xwayland to wayland
2017-12-14 13:59:36 +01:00
emersion
6ef0219763
Merge branch 'master' into xwm-selection
2017-12-14 11:20:38 +01:00
Tony Crisci
4da4048189
remove todo
2017-12-09 09:21:11 -05:00
Tony Crisci
a4bb0574c4
selection fixes
2017-12-08 09:46:50 -05:00
Tony Crisci
52cda5653b
Revert "xwm: only take clipboard if window is focused"
...
This reverts commit e3542d879d
.
2017-12-08 09:23:26 -05:00
Tony Crisci
e3542d879d
xwm: only take clipboard if window is focused
2017-11-22 14:58:36 -05:00
Tony Crisci
b0683874e9
xwm: send selection data
2017-11-22 08:10:06 -05:00
Tony Crisci
ea6f77b484
xwm: get selection data
2017-11-21 18:25:21 -05:00
Tony Crisci
39e2ea8420
xwm: get selection targets
2017-11-21 18:09:25 -05:00
Tony Crisci
1ada1b7f0b
xwm: x11 data source
2017-11-21 11:19:55 -05:00
Tony Crisci
c67cf2e9e4
xwm: handle selection stubs
2017-11-21 10:18:44 -05:00
Tony Crisci
1f976a0f25
xwm: xfixes selection notify
2017-11-21 09:25:05 -05:00
Tony Crisci
444257b6b1
xwm: selection init
2017-11-20 08:51:40 -05:00
Tony Crisci
3880fb0a53
xwm: selection stubs
2017-11-20 07:42:09 -05:00