emersion
d6de329d98
seat: don't send motion if pointer hasn't moved
6 years ago
emersion
75371d2c88
Require libdrm >= 2.4.95
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
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
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
0040f7089f
data-device: unexport wlr_seat_client_send_selection
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
...
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
emersion
06467d2e12
primary-selection: add a serial argument
...
The serial needs to be bumped when X11 clients set the selection, otherwise
some Wayland clients (e.g. GTK) will overwrite it when they gain focus.
6 years ago
Jente Hidskes
edf0e49195
Add wlr_x11_output_set_title
6 years ago
Jente Hidskes
5b07e20f2a
wlr/backend/x11.h: add documentation
...
Copied from wlr/backend/wayland.h and modified accordingly.
6 years ago
Drew DeVault
d4de2bd708
Merge pull request #1476 from emersion/fullscreen-shell
...
fullscreen-shell-v1: initial protocol implementation
6 years ago
Ryan Dwyer
53b29e5443
Add noop.h to include/wlr/backend/meson.build
6 years ago
Ryan Dwyer
9b4be5a595
Introduce noop backend
...
The noop backend is similar to headless, but it doesn't contain a
renderer. It can be used as a place to stash views for when there's no
physical outputs connected.
6 years ago
Connor E
e7fff4f560
Remove wlr_xdg_surface_send_close.
6 years ago
Drew DeVault
d3d1437bc4
Add wlr_wl_output_set_title
6 years ago
Drew DeVault
e61ea7706b
Merge pull request #1423 from emersion/data-control
...
Implement data-control-unstable-v1
6 years ago
emersion
f71cf15aad
relative-pointer-v1: move pointer iteration in wlroots
...
This makes sure we always send events to the right client.
6 years ago
emersion
86f263a0b8
fullscreen-shell-v1: initial protocol implementation
6 years ago
emersion
610f5bfc77
Merge pull request #1432 from ForTheReallys/relative-pointers
...
Relative pointers
6 years ago
Alex Maese
8b97c20d01
Finish addressing @emersion's comments
6 years ago
emersion
69e7fd61b7
data-control-v1: update to latest protocol proposal
6 years ago
emersion
99d879c887
data-control-v1: initial protocol implementation
6 years ago
Jente Hidskes
ed5296c6cf
Protect against redefining MESA_EGL_NO_X11_HEADERS
6 years ago
Timidger
9af0c5338f
Standardize the wlr_box input paramaters
...
Fixes #1094
6 years ago
Alex Maese
5999d0322b
Add a listener for when the pointer gets destroyed
6 years ago
Alex Maese
12d9edc0c9
Address more of @emersion's comments
6 years ago
Alex Maese
e276d310e8
Add unaccelerated pointer values to wlr_event_pointer_motion events
6 years ago
Alex Maese
a803a007fb
Address @emersion's comments
6 years ago
Alex Maese
f5ea393bca
Remove pointer resource from relative pointer
6 years ago
Alex Maese
09bdbf24f4
Removed relative pointers from wlr_seat
6 years ago
Alex Maese
f4cf3c0886
Remove wl_client from wlr_relative_pointer_v1
6 years ago
Alex Maese
a2964a640b
Add wlr_relative_pointer_v1.h to meson.build
6 years ago
random human
68137dca3f
relative_pointer: implementation and code fixes
...
In particular, modified public creator and destructor function names,
added a display destroy listener, safely extract user data from
resources, send correct time (in usecs) in rootston, etc.
6 years ago
random human
fb44ce9fa8
relative_pointer: send frame event to pointer for Xwayland
6 years ago
random human
6fa1777f94
relative_pointer: code formatting fixes
6 years ago
random human
d020344675
relative_pointer: implement protocol events
...
Implement zwp_relative_pointer_v1.relative_motion event, along with some
glue code in wlr_seat_pointer and rootston.
6 years ago
random human
ba5b1676df
relative_pointer: implement protocol requests
...
Flesh out the details of the structs, signals, callback functions, and
so on. weston-resizer silently works at this point (no events sent).
6 years ago
random human
3a3d1b6617
relative_pointer: create skeleton and build
...
Add protocol, header and type files to build. Create skeleton structs,
creator and destroyer, and define implementations.
6 years ago
Ryan Walklin
810c7b700c
Working switches in rootston:
...
Factor out switch handling to separate file
Add formal enum for toggle action
Implement binding actions
6 years ago
Ryan Walklin
2a3c62b4d2
[WIP][DONTMERGE]Add support for libinput_switch input devices
...
These are used primarily by laptops to signal
the state of the lid (open/closed) and tablet
mode if supported, based on ACPI events.
6 years ago
emersion
8c573bc7c6
gtk-primary-selection: basic serial validation
6 years ago
Ilia Bozhinov
5b1b9657bf
types: implement wlr_foreign_toplevel_management_v1
6 years ago
emersion
1256314afe
export-dmabuf-v1: add missing destroy request handler
...
Also document lists in the header file.
6 years ago
Duncaen
e584857fa9
Install wlr_pointer_constraints_v1.h
6 years ago
Drew DeVault
273e110b74
Merge pull request #1403 from emersion/swap-buffers-damage-coords
...
output: switch swap_buffers damage to output-buffer-local coords
6 years ago
emersion
6aaefad40d
output: switch swap_buffers damage to output-buffer-local coords
...
This is one more step towards [1]. This gives more freedom to the compositor
wrt. how it handles damage.
[1]: https://github.com/swaywm/wlroots/issues/1363
6 years ago
emersion
9f0720c03a
primary-selection: introduce wlr_primary_selection_source
...
This is a common interface that can be used for all primary selection
protocols, as discussed in [1]. A new function wlr_seat_set_primary_selection
is added to set the primary selection for all protocols.
The seat now owns again the source, and resets the selection to NULL when
destroyed.
[1]: https://github.com/swaywm/wlroots/issues/1367#issuecomment-442403454
6 years ago
emersion
bfa7f4ee0d
gtk-primary-selection: use impl pattern for sources
6 years ago