aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-12-15Factor out binding command execution to separate fileRyan Walklin
2018-12-15[WIP][DONTMERGE]Add support for libinput_switch input devicesRyan Walklin
These are used primarily by laptops to signal the state of the lid (open/closed) and tablet mode if supported, based on ACPI events.
2018-12-13Merge pull request #1434 from martinetd/xwayland_clearenvemersion
xwayland: remove clearenv() call
2018-12-13xwayland: remove clearenv() callDominique Martinet
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.
2018-12-12Merge pull request #1433 from ammen99/fix-layer-shell-unconstrainDrew DeVault
xdg-popup: fix wlr_xdg_popup_get_toplevel_coords()
2018-12-12xdg-popup: fix wlr_xdg_popup_get_toplevel_coords()Ilia Bozhinov
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
2018-12-09Merge pull request #1426 from emersion/drm-disappear-indexDrew DeVault
backend/drm: fix disappeared output indices
2018-12-09Merge pull request #1429 from emersion/primary-serial-validationDrew DeVault
gtk-primary-selection: basic serial validation
2018-12-09gtk-primary-selection: warn when offering MIME type after set_selectionemersion
2018-12-09gtk-primary-selection: basic serial validationemersion
2018-12-09backend/drm: Fix uninitialized variableScott Anderson
2018-12-09backend/drm: Improve encoder logicScott Anderson
This fixes an issue that can occur with DP MST connectors not reporting any encoders.
2018-12-09backend/drm: fix disappeared output indicesemersion
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).
2018-12-09Merge pull request #1201 from ammen99/masteremersion
Implement wlr-foreign-toplevel-management-unstable-v1
2018-12-08examples: add wlr_foreign_toplevel_management_v1 exampleIlia Bozhinov
2018-12-08rootston: add support for wlr_foreign_toplevel_management_v1Ilia Bozhinov
2018-12-08rootston: add title/app_id/class listenersIlia Bozhinov
2018-12-08types: implement wlr_foreign_toplevel_management_v1Ilia Bozhinov
2018-12-06Merge pull request #1422 from emersion/dmabuf-export-destroyDrew DeVault
export-dmabuf-v1: add missing destroy request handler
2018-12-06Merge pull request #1413 from emersion/logind-session-logsDrew DeVault
backend/session/logind: improve logging
2018-12-06export-dmabuf-v1: add missing destroy request handleremersion
Also document lists in the header file.
2018-12-06backend/session/logind: improve loggingemersion
2018-12-06Merge pull request #1416 from kragniz/rootston-use-boxDrew DeVault
rootston: use box for views position
2018-12-06Merge pull request #1419 from emersion/ci-alpineDrew DeVault
ci: add Alpine build
2018-12-05rootston: use box for views positionLouis Taylor
2018-12-05ci: add Alpine buildemersion
2018-12-05rootston: use int for width, heightLouis Taylor
2018-12-04Merge pull request #1415 from emersion/tablet-seat-leakDrew DeVault
tablet-v2: fix wlr_tablet_seat_v2 leak
2018-12-04Merge pull request #1410 from emersion/xdg-surface-destroyDrew DeVault
xdg-shell: emit xdg_surface destroy when role object is destroyed
2018-12-04Merge pull request #1412 from emersion/drm-vla-overflowDrew DeVault
backend/drm: fix VLA overflow
2018-12-04tablet-v2: fix wlr_tablet_seat_v2 leakemersion
2018-12-04backend/drm: fix VLA overflowemersion
2018-12-04xdg-shell: emit xdg_surface destroy when role object is destroyedemersion
Fixes https://github.com/swaywm/wlroots/issues/1407
2018-12-03Merge pull request #1409 from Duncaen/wlr_pointer_constraintsDrew DeVault
Install wlr_pointer_constraints_v1.h
2018-12-03Install wlr_pointer_constraints_v1.hDuncaen
2018-12-02Merge pull request #1403 from emersion/swap-buffers-damage-coordsDrew DeVault
output: switch swap_buffers damage to output-buffer-local coords
2018-12-02Merge pull request #1397 from emersion/refactor-primary-selectionDrew DeVault
gtk-primary-selection: refactor everything, untie from seat
2018-12-01Merge pull request #1404 from saimen/bump-version-numberemersion
build: bump versino to 0.2.0
2018-12-01build: bump versino to 0.2.0Simon Barth
2018-12-01output: switch swap_buffers damage to output-buffer-local coordsemersion
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
2018-11-29primary-selection: introduce wlr_primary_selection_sourceemersion
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
2018-11-28Merge pull request #1400 from emersion/xcursor-fixesDrew DeVault
xcursor: port a few fixes
2018-11-28Merge pull request #1399 from emersion/fix-wl-backend-zero-vlaDrew DeVault
backend/wayland: fix zero-length VLA
2018-11-27xcursor: Support XDG user data dir locationCosimo Cecchi
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
2018-11-27xcursor: fix crash when encountering cursor themes with circular dependenciesPhilipp Ludwig
Port of https://cgit.freedesktop.org/xorg/lib/libXcursor/commit/src?id=f64a8cc1a65dcad4294e2988b402a34175019663
2018-11-27backend/wayland: fix zero-length VLAemersion
2018-11-27gtk-primary-selection: fix segfault when no focusemersion
2018-11-27gtk-primary-selection: use impl pattern for sourcesemersion
2018-11-27gtk-primary-selection: remove offer structemersion
We don't need it, we can use the device instead.
2018-11-27gtk-primary-selection: refactor everything, untie from seatemersion
This commits completely refactors wlr_gtk_primary_selection. The goal is to remove gtk-primary-selection state from the seat and better handle inert resources where it makes sense. wlr_seat_client.primary_selection_devices has been removed and replaced by wlr_gtk_primary_selection_device. This allows us to make offers inert when the current selection is replaced. wlr_seat_set_primary_selection has been removed because it relied on wlr_seat instead of wlr_gtk_primary_selection_device_manager. A new function, wlr_gtk_primary_selection_device_manager_set_selection (candidate for the longest function name in wlroots) has been added. It doesn't take a serial anymore as serial checking only makes sense for set_selection requests coming from Wayland clients (serial checking is now done in the Wayland interface implementation). Since wlr_gtk_primary_selection_device_manager is now required to set the selection, a new function wlr_xwayland_set_gtk_primary_selection_device_manager (candidate number two for longest function name) has been added. Devices are now made inert when the seat goes away. Future work includes removing the last primary selection bits from the seat, mainly wlr_seat.primary_selection_source and wlr_seat.events.primary_selection, replacing those with new fields in wlr_gtk_primary_selection_device. Or maybe we could keep those in the seat and replace them with a re-usable interface (for future zwp_primary_selection_v1 support). We need to think how we'll sync these three protocols (GTK, X11 and wayland-protocols). See https://github.com/swaywm/wlroots/issues/1388