46 Commits (42eec38ab665522a0796cbb62a3de26939ffffd3)

Author SHA1 Message Date
Simon Ser 6c350799b2 Zero-initialize structs in init functions
3 years ago
Isaac Freund 78befa59f9 gtk-primary-selection: drop support
4 years ago
Tudor Brindus 2118a3ce47 xwayland/selection: flush connection after changing xwm selection owner
4 years ago
Tudor Brindus 2827a9554c xwayland/selection: log when proxy window loses ownership
4 years ago
Tudor Brindus 7d52b4d0b5 xwayland/selection: ignore requests for anything but the newest data
4 years ago
Tudor Brindus 3d46d3f7a1 xwayland/selection: allow simultaneous Wayland-to-X11 transfers
4 years ago
Tudor Brindus 2fa257313a xwayland/selection: use one target window per selection
4 years ago
Tudor Brindus 7964a313e8 xwayland/selection: use one X11 window per incoming transfer
4 years ago
Tudor Brindus dd4c8aa45e xwayland/selection: make xwm_selection_init take a wlr_xwm_selection *
4 years ago
Tudor Brindus b3d782f818 xwayland/selection: introduce `xwm_selection_transfer_init`
4 years ago
Tudor Brindus aa86a022fa xwayland/selection: make xwm_selection_finish take a wlr_xwm_selection *
4 years ago
Tudor Brindus b6ba595862 xwayland/selection: destroy all selections on Xwayland restart
4 years ago
Tudor Brindus 3417fc0cca xwayland/selection: don't leak Wayland fd if ConvertSelection fails
4 years ago
Tudor Brindus e0dfc14983 xwayland/selection: don't request another selection while one is pending
4 years ago
Tudor Brindus 211c1e23be xwayland/selection: end incr transfer on empty prop, not next selection
4 years ago
Tudor Brindus 703c17ae41 xwayland/selection: refactor remaining incremental transfer code
4 years ago
Tudor Brindus 23148d283f xwayland/selection: extract out property requests
4 years ago
Tudor Brindus dea94f2bad xwayland/selection: simplify incremental transfer control flow
4 years ago
Tudor Brindus 10a2d57055 xwayland/selection: explicitly bail if first write to Wayland fd fails
4 years ago
Tudor Brindus 40b2e7669a xwayland/selection: make `xwm_data_source_write` return 0 on failure
4 years ago
Tudor Brindus e75f483aeb xwayland/selection: rename Wayland-facing data and helpers
4 years ago
Tudor Brindus 0db191d3bf xwayland/selection: prevent fd leak on unsupported MIME type
4 years ago
Tudor Brindus abb56152ff xwayland: use wlr_log_errno instead of %m
4 years ago
Tudor Brindus afeb941ca0 xwayland: notify requestor when we fail to respond to their request
4 years ago
Tudor Brindus 7bb9d48dd1 xwayland: remove stale transfers from the same requestor
4 years ago
Tudor Brindus feb0e1c74d xwayland: fix use-after-free in selection handling
4 years ago
Tudor Brindus ab80ad902e xwayland: using %m in `wlr_log` is broken, use `wlr_log_errno` instead
4 years ago
Antonin Décimo d9bb792794 Fix incorrect format parameters
4 years ago
John Chadwick 58bcec9d94 xwm: end transfers when the requestor is destroyed
4 years ago
Manuel Stoeckl edb30a6828 Implement serial validation for selection requests
5 years ago
emersion 556bf3ac31
data-device: destroy previous source when starting drag
6 years ago
John Chen 819bd3e344 Fix another instance of swaywm/sway#3545.
6 years ago
emersion 1150ff13ce
data-device: make sources inert, rename cancel to destroy
6 years ago
emersion 4cb0697e57 data-device, primary-selection: add request_set_selection
6 years ago
emersion 06467d2e12
primary-selection: add a serial argument
6 years ago
emersion 9f0720c03a
primary-selection: introduce wlr_primary_selection_source
6 years ago
emersion bfa7f4ee0d
gtk-primary-selection: use impl pattern for sources
6 years ago
emersion f001f98cef
gtk-primary-selection: refactor everything, untie from seat
6 years ago
emersion 811a4d997b
Rename wlr_primary_selection to wlr_gtk_primary_selection
6 years ago
emersion 2d0c5ec78e
Use _POSIX_C_SOURCE, use shm_open
6 years ago
emersion 7cbef15206
util: add wlr_ prefix to log symbols
6 years ago
emersion c119c43b48
xwayland/selection: fix little memory leak on error
7 years ago
Drew DeVault fac2c3e25f
Merge pull request #882 from emersion/unprefix-local-symbols
7 years ago
Guido Guenther 085452f9d9 Use correct printf format specifiers for ssize_t
7 years ago
emersion 71ca45e2c0
Make sure we don't use others' prefixes
7 years ago
emersion 591ea27cf9
xwayland: refactor selection code
7 years ago