32 Commits (42673a282137ad4dc39b6a70c011dba4d822b85c)

Author SHA1 Message Date
Simon Ser 842093bb84 Define _POSIX_C_SOURCE globally
9 months ago
Alexander Orzechowski 1b0694b794 treewide: Migrate from sizeof(struct) to sizeof(*pointer) where practical
1 year ago
Simon Ser fe06e5f49a Use wl_container_of() instead of casts
1 year ago
Tudor Brindus 2827a9554c xwayland/selection: log when proxy window loses ownership
4 years ago
Tudor Brindus 7964a313e8 xwayland/selection: use one X11 window per incoming transfer
4 years ago
Tudor Brindus b3d782f818 xwayland/selection: introduce `xwm_selection_transfer_init`
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
Manuel Stoeckl edb30a6828 Implement serial validation for selection requests
5 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