Alex Maese
a803a007fb
Address @emersion's comments
6 years ago
Alex Maese
f5ea393bca
Remove pointer resource from relative pointer
6 years ago
Alex Maese
d0c940d796
Only send relative motion to correct seat
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
42ffa413fb
relative_pointer: add relative-pointer example
...
On left mouse button click, locks the cursor and renders relative motion
events.
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
emersion
82d36025e1
Merge pull request #1440 from sghctoma/fbsd-manifest
...
Fix FreeBSD build manifest
6 years ago
sghctoma
615b25fafc
Fix FreeBSD build manifest
...
Recent libinput-related changes in the ports tree made it necessary to
install devel/evdev-proto before x11/libinput.
6 years ago
emersion
36ba56140a
Merge pull request #1439 from ammen99/master
...
rootston: create foreign toplevel handle before sending outputs
6 years ago
Ilia Bozhinov
96861ccb7a
rootston: create foreign toplevel handle before sending outputs
...
Otherwise the initial list of outputs isn't sent to foreign-toplevel
clients.
6 years ago
emersion
c4c1d63a0c
Merge pull request #1435 from emersion/duplicate-custom-modes
...
backend/drm: don't insert duplicate custom modes, fix refresh rate
6 years ago
emersion
ff6c4f80b2
backend/drm: don't insert duplicate custom modes, fix refresh rate
6 years ago
emersion
6d4bfa3226
Merge pull request #1377 from tokyovigilante/switch-events
...
Add support for libinput_switch input devices
6 years ago
Ryan Walklin
f8129ecbc5
Remove unused variables
6 years ago
Ryan Walklin
282fcd458c
Improve event matching logic
6 years ago
Ryan Walklin
8f5ec5e2bb
Fix style nits
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
62a9cf87fa
Remove debug logs
6 years ago
Ryan Walklin
cd7a6daf48
Update config struct, reduce complexity and correctly parse config.ini
6 years ago
Ryan Walklin
cc656670b2
Remove redundant signal in seat.c
6 years ago
Ryan Walklin
2a7edfa24c
Factor out binding command execution to separate file
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
8a56b96c55
Merge pull request #1434 from martinetd/xwayland_clearenv
...
xwayland: remove clearenv() call
6 years ago
Dominique Martinet
384642b394
xwayland: remove clearenv() call
...
This has been causing troubles for some of our users and only been there
for legacy reasons, we trust Xwayland just as much as your next program
and weston doesn't take any such care when starting it.
6 years ago
Drew DeVault
ef9506b0bc
Merge pull request #1433 from ammen99/fix-layer-shell-unconstrain
...
xdg-popup: fix wlr_xdg_popup_get_toplevel_coords()
6 years ago
Ilia Bozhinov
07865104e1
xdg-popup: fix wlr_xdg_popup_get_toplevel_coords()
...
The previous code resulted in a crash when we try to unconstrain a popup
which is part of a layer-shell surface popup tree.
Fixes #1425
6 years ago
Drew DeVault
6161a153c8
Merge pull request #1426 from emersion/drm-disappear-index
...
backend/drm: fix disappeared output indices
6 years ago
Drew DeVault
25b150352c
Merge pull request #1429 from emersion/primary-serial-validation
...
gtk-primary-selection: basic serial validation
6 years ago
emersion
c2113decb3
gtk-primary-selection: warn when offering MIME type after set_selection
6 years ago
emersion
8c573bc7c6
gtk-primary-selection: basic serial validation
6 years ago
Scott Anderson
fec88770dd
backend/drm: Fix uninitialized variable
6 years ago
Scott Anderson
efdd4d6ea2
backend/drm: Improve encoder logic
...
This fixes an issue that can occur with DP MST connectors not reporting
any encoders.
6 years ago
emersion
f8056a0350
backend/drm: fix disappeared output indices
...
This commit changes `scan_drm_connectors` to add new outputs to the end of the
list. That way, it's easier to understand what's going on with indices.
When we need to destroy outputs, we now walk the list in reverse order. This
ensures indices remain correct while iterating and removing items from the
list.
We now also make outputs without a CRTC disappear (those are in
WLR_DRM_CONN_NEEDS_MODESET state).
6 years ago
emersion
3699496256
Merge pull request #1201 from ammen99/master
...
Implement wlr-foreign-toplevel-management-unstable-v1
6 years ago
Ilia Bozhinov
16175751d6
examples: add wlr_foreign_toplevel_management_v1 example
6 years ago
Ilia Bozhinov
8cce2d75a9
rootston: add support for wlr_foreign_toplevel_management_v1
6 years ago
Ilia Bozhinov
f387a840d8
rootston: add title/app_id/class listeners
6 years ago
Ilia Bozhinov
5b1b9657bf
types: implement wlr_foreign_toplevel_management_v1
6 years ago
Drew DeVault
e75075dfa2
Merge pull request #1422 from emersion/dmabuf-export-destroy
...
export-dmabuf-v1: add missing destroy request handler
6 years ago
Drew DeVault
20f5fc9e2e
Merge pull request #1413 from emersion/logind-session-logs
...
backend/session/logind: improve logging
6 years ago
emersion
1256314afe
export-dmabuf-v1: add missing destroy request handler
...
Also document lists in the header file.
6 years ago
emersion
e23fe328a6
backend/session/logind: improve logging
6 years ago
Drew DeVault
8cb4df2a30
Merge pull request #1416 from kragniz/rootston-use-box
...
rootston: use box for views position
6 years ago