aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2018-11-26Merge pull request #1387 from emersion/rename-gtk-primary-selectionDrew DeVault
Rename wlr_primary_selection to wlr_gtk_primary_selection
2018-11-26Merge pull request #1384 from emersion/data-multiple-devicesDrew DeVault
data-device: allow multiple devices for the same seat
2018-11-26Merge pull request #1396 from emersion/fix-destroyed-subsurfaceDrew DeVault
surface: fix destroyed subsurfaces handling
2018-11-26surface: fix destroyed subsurfaces handlingemersion
wlr_subsurface_from_wlr_surface can return NULL if the wl_surface is still alive and if the wl_subsurface has been destroyed. Make sure we check for NULL. Fixes https://github.com/swaywm/sway/issues/3195
2018-11-26data-device: never cancel the source when offer is destroyedemersion
The source could be used in another offer.
2018-11-26data-device: allow multiple devices for the same seatemersion
This commit makes it possible for a single client to have multiple data devices for the same seat. This fixes issues with Firefox. This mainly removes wlr_data_source.offer. We make sure we create one data offer per device. We now make the offer inert when the source is destroyed. Fixes the second half of https://github.com/swaywm/wlroots/issues/1041
2018-11-26Merge pull request #1395 from emersion/text-input-log-newlineRyan Dwyer
text-input-v3: remove newline in log message
2018-11-26text-input-v3: remove newline in log messageemersion
2018-11-25Merge pull request #1392 from emersion/disable-static-analysisDrew DeVault
Disable Clang static analysis
2018-11-25Merge pull request #1375 from emersion/tablet-segfaultDrew DeVault
tablet-v2: fix segfault on display destroy
2018-11-25Disable Clang static analysisemersion
2018-11-24Merge pull request #1391 from buffet/fix-loc-countemersion
Fixed loc count in readme
2018-11-24Fixed loc count in readmebuffet
2018-11-24Merge pull request #1390 from ammen99/fix-preferred-read-formatemersion
output: add wlr_output_preferred_read_format()
2018-11-24output: add wlr_output_preferred_read_format()Ilia Bozhinov
The read format is dependent on the output, so we first need to make it current. This fixes a race condition in wlr-screencopy-v1 where a dmabuf client would cause EGL_NO_SURFACE to be bound at the time when screencopy needs to query for the preferred format, causing GL errors.
2018-11-23Rename wlr_primary_selection to wlr_gtk_primary_selectionemersion
2018-11-22Merge pull request #1385 from atomnuker/masteremersion
Fix interlaced mode rejection