John Chen
819bd3e344
Fix another instance of swaywm/sway#3545 .
6 years ago
John Chen
f24e17259e
Fix swaywm/sway#3545 .
6 years ago
Drew DeVault
28f11aec31
Merge pull request #1523 from emersion/set-same-selection-crash
...
data-device: fix crash when setting the same selection twice
6 years ago
Drew DeVault
16a93eddfb
Merge pull request #1519 from emersion/dedup-source-mime-type
...
De-duplicate data source MIME types
6 years ago
Drew DeVault
d2f0efd3f5
Merge pull request #1522 from emersion/logind-no-dup-leak
...
backend/session/logind: dup FD with CLOEXEC
6 years ago
Drew DeVault
2d65d49c5c
Merge pull request #1518 from emersion/relative-pointer-usec
...
relative-pointer-v1: time is in usec, not msec
6 years ago
emersion
f1d3aeff9a
data-device: fix crash when setting the same selection twice
6 years ago
emersion
22faddde9e
backend/session/logind: dup FD with CLOEXEC
6 years ago
emersion
790f0c52a1
De-duplicate data source MIME types
6 years ago
emersion
7defb30781
relative-pointer-v1: time is in usec, not msec
6 years ago
Drew DeVault
41af8d8459
Merge pull request #1513 from emersion/fix-dnd
...
data-device: fix drag-and-drop
6 years ago
emersion
29952dee19
data-device: only allow one drag at a time
6 years ago
emersion
faa00a4a33
rootston: only allow one drag icon per seat
6 years ago
emersion
d6de329d98
seat: don't send motion if pointer hasn't moved
6 years ago
emersion
c505ce3019
data-device: fix use-after-free on drop
6 years ago
Drew DeVault
a37dfb380b
Merge pull request #1515 from emersion/shell-grab-frame
...
Add missing frame events to shell pointer grabs
6 years ago
emersion
2624f667bf
Add missing frame events to shell pointer grabs
6 years ago
emersion
77c25c1526
meson: remove b_lundef=false on FreeBSD
6 years ago
Drew DeVault
3c243ac208
Merge pull request #1511 from emersion/scan-build-fixes
...
Fix two issues found with Clang's static analyzer
6 years ago
emersion
7309d8c9ac
Fix two issues found with Clang's static analyzer
6 years ago
Drew DeVault
c6b4153748
Merge pull request #1510 from emersion/libdrm-version
...
Require libdrm >= 2.4.95
6 years ago
emersion
75371d2c88
Require libdrm >= 2.4.95
6 years ago
Drew DeVault
feb1b9b1cb
Merge pull request #1509 from emersion/gbm-fmt-mismatch
...
backend/drm: fix GBM format mismatch
6 years ago
emersion
ee293fab58
backend/drm: fix GBM format mismatch
...
We create the EGL config with GBM_FORMAT_ARGB8888, but then initialize GBM BOs
with GBM_FORMAT_XRGB8888. This mismatch confuses Mesa.
Instead, we can always use GBM_FORMAT_ARGB8888, and use DRM_FORMAT_XRGB8888
when calling drmModeAddFB2.
Fixes https://github.com/swaywm/wlroots/issues/1438
6 years ago
Greg V
9fe8e37961
Implement the pointer-gestures-unstable-v1 protocol
...
This protocol relays touchpad gesture events produced by libinput to
supporting clients (e.g. Evince, Eye of GNOME).
6 years ago
Drew DeVault
018727b1fc
Merge pull request #1503 from emersion/pointer-frame
...
pointer: add a frame event
6 years ago
Drew DeVault
89eacf556a
Merge pull request #1505 from emersion/data-control-unset
...
data-control-v1: handle NULL sources in set_selection
6 years ago
Yong Joseph Bakos
0772c20c7f
tinywl/README: Fix misspelling.
6 years ago
emersion
5fdf22b5d3
data-control-v1: handle NULL sources in set_selection
6 years ago
emersion
b45fc24b18
backend/wayland: handle wl_pointer.axis_stop
6 years ago
emersion
5de26ad8ed
pointer: add a frame event
...
Frame events group logically connected pointer events. It makes sense to make
the backend responsible for sending frame events, since once the events are
split (ie. once the frame events are stripped) it's not easy to figure out
which events belongs to which frame again.
This is also how Weston handles frame events.
Fixes https://github.com/swaywm/wlroots/issues/1468
6 years ago
Drew DeVault
209210d307
Merge pull request #1498 from emersion/editorconfig-indent-size
...
Set .editorconfig ident_size
6 years ago
emersion
42b19dcf91
Set .editorconfig ident_size
6 years ago
Drew DeVault
460a630a43
Merge pull request #1427 from emersion/refactor-data-device
...
Refactor data-device
6 years ago
Drew DeVault
b1731134e2
Merge pull request #1494 from emersion/wayland-protocols-text-input
...
text-input-v3: use protocol from wayland-protocols
6 years ago
Drew DeVault
5941148d45
Merge pull request #1495 from Hjdskes/safe_set_title
...
backend/x11 & backend/wayland: make set_title NULL-safe
6 years ago
Jente Hidskes
85d84a1a04
backend/x11 & backend/wayland: make set_title NULL-safe
...
Set the default "wlroots - " title when the title argument to the
set_title functions is NULL. Otherwise, for at least the Wayland
backend, we'd crash because xdg_toplevel_set_title doesn't handle a NULL
pointer.
6 years ago
emersion
a1f9d7ad9e
data-device: keep track of wlr_data_offer in wlr_seat lists
6 years ago
emersion
909b3b16f3
data-device: add wlr_data_offer.type
6 years ago
emersion
3f82eb1853
data-device: make device inert when seat is destroyed
6 years ago
emersion
9d6cb85b2d
seat: simplify data source destroy
6 years ago
emersion
c20d413f8a
data-device: fix missing listener removal
6 years ago
emersion
703a160078
data-control-v1: use new wlr_data_source API
6 years ago
emersion
0040f7089f
data-device: unexport wlr_seat_client_send_selection
6 years ago
emersion
1a2727cc38
data-device: send offer on get_data_device
6 years ago
emersion
84f278eca1
data-device: remove data_source_send_offer
6 years ago
emersion
1150ff13ce
data-device: make sources inert, rename cancel to destroy
6 years ago
emersion
af3de7ea68
text-input-v3: use protocol from wayland-protocols
6 years ago
emersion
4cb0697e57
data-device, primary-selection: add request_set_selection
...
This makes compositors able to block and/or customize set_selection requests
coming from clients. For instance, it's possible for a compositor to disable
rich selection content (by removing all MIME types except text/plain). This
commit implements the design proposed in [1].
Two new events are added to wlr_seat: request_set_selection and
request_set_primary_selection. Compositors need to listen to these events and
either destroy the source or effectively set the selection.
Fixes https://github.com/swaywm/wlroots/issues/1138
[1]: https://github.com/swaywm/wlroots/issues/1367#issuecomment-442403454
6 years ago
Ian Fan
c41d01306d
wlr_xdg_output_v1: move where name & description are sent
6 years ago