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
Drew DeVault
e539a8b208
Merge pull request #1419 from emersion/ci-alpine
...
ci: add Alpine build
6 years ago
Louis Taylor
0f3a061f60
rootston: use box for views position
6 years ago
emersion
7a2cef1ad0
ci: add Alpine build
6 years ago
Louis Taylor
d703ae45dd
rootston: use int for width, height
6 years ago
Drew DeVault
fdb67ff63b
Merge pull request #1415 from emersion/tablet-seat-leak
...
tablet-v2: fix wlr_tablet_seat_v2 leak
6 years ago
Drew DeVault
bf66e29973
Merge pull request #1410 from emersion/xdg-surface-destroy
...
xdg-shell: emit xdg_surface destroy when role object is destroyed
6 years ago
Drew DeVault
4fadde362f
Merge pull request #1412 from emersion/drm-vla-overflow
...
backend/drm: fix VLA overflow
6 years ago
emersion
3ca7ca5306
tablet-v2: fix wlr_tablet_seat_v2 leak
6 years ago
emersion
491f1dbf75
backend/drm: fix VLA overflow
6 years ago
emersion
5515faa197
xdg-shell: emit xdg_surface destroy when role object is destroyed
...
Fixes https://github.com/swaywm/wlroots/issues/1407
6 years ago
Drew DeVault
3efc6bc363
Merge pull request #1409 from Duncaen/wlr_pointer_constraints
...
Install wlr_pointer_constraints_v1.h
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
Drew DeVault
8887508fed
Merge pull request #1397 from emersion/refactor-primary-selection
...
gtk-primary-selection: refactor everything, untie from seat
6 years ago
emersion
3f5f4cec88
Merge pull request #1404 from saimen/bump-version-number
...
build: bump versino to 0.2.0
6 years ago
Simon Barth
92e39b586c
build: bump versino to 0.2.0
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
Drew DeVault
a22311ec76
Merge pull request #1400 from emersion/xcursor-fixes
...
xcursor: port a few fixes
6 years ago
Drew DeVault
3033f33a1d
Merge pull request #1399 from emersion/fix-wl-backend-zero-vla
...
backend/wayland: fix zero-length VLA
6 years ago
Louis Taylor
b3f51e39f8
view_at: remove unused variable
6 years ago
Cosimo Cecchi
14f45c056f
xcursor: Support XDG user data dir location
...
Nowadays ~/.icons is not used anymore as the preferred location for custom
user icon themes; XDG_DATA_HOME/icons (aka ~/.local/share/icons) is what
toolkits like GTK prefer. Prepend that location to the default xcursor path, so
that cursor themes installed there can be used by apps and toolkits that use
libXcursor.
Port of https://cgit.freedesktop.org/xorg/lib/libXcursor/commit/src?id=2263c196cb0dcb8547b378df7b35f83b8b99c01e
6 years ago
Philipp Ludwig
e7fba556a8
xcursor: fix crash when encountering cursor themes with circular dependencies
...
Port of https://cgit.freedesktop.org/xorg/lib/libXcursor/commit/src?id=f64a8cc1a65dcad4294e2988b402a34175019663
6 years ago
emersion
408e2a77e9
backend/wayland: fix zero-length VLA
6 years ago
emersion
658b590567
gtk-primary-selection: fix segfault when no focus
6 years ago
emersion
bfa7f4ee0d
gtk-primary-selection: use impl pattern for sources
6 years ago