aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-09-27pointer-constraints: use proper wayland-scanner functionsemersion
2018-09-27rootston: remove broken rotated pointer constraint handlingemersion
2018-09-27pointer-constraints: refactoringemersion
* Rename the constraint_create signal to new_constraint for consistency * Move the constraint_destroy signal to the constraint itself * Use rotate_child_position instead of duplicating logic * Fix inert constraint resource handling * Style fixes
2018-09-26pointer-constraints: make region not a pointer, add committed bitfieldemersion
2018-09-26Adjust README to reflect change regarding b_lundefsghctoma
With Meson >=0.48.0 it is no longer necessary to pass the flag "-D b_lundef=false" on FreeBSD.
2018-09-26Add b_lundef=false Meson option on FreeBSDsghctoma
The Meson option "b_lundef" need to be set to false on FreeBSD, because the symbol "environ" is in crt1.o, which is not linked with shared libraries. With Meson >=0.48.0 it is possible to set this option only for FreeBSD. This patch changes meson.build to do that.
2018-09-26pointer-constraints: rename wl_{global,resources}emersion
2018-09-26examples/pointer-constraints: style fixesemersion
2018-09-26Merge pull request #1264 from emersion/examples-unknown-cursorDrew DeVault
Fix unknown cursor in layer-shell example
2018-09-26Fix unknown cursor in layer-shell exampleemersion
2018-09-24Rework session handlingnyorain
Sessions can now be retrieved from a backend in a more general manner. Multi-backend gets back its `session` field that contains the session if one was created, removing the interfacing from multi backend with the drm backend directly. This adds the possibility to use sessions even without the drm backend. It additionally fixes the bug that 2 session objects got created when WLR_BACKENDS were set to "libinput,drm". To allow vt switching without drm backend (and drm fd) on logind, start listening to PropertiesChanged signals from dbus and parse the session "Active" property when no master fd was created (this does not change current drm backend behaviour in any way).
2018-09-25wlr_surface: more consistent argument naming in surface_update_damagerandom human
2018-09-25wlr_surface: remove duplicated damage calculationrandom human
The damage is already calculated and stored in surface->buffer_damage by surface_update_damage().
2018-09-25wlr_surface: fix surface damage on resizerandom human
Instead of damaging the buffer, damage only the surface on surface (not buffer) resize.
2018-09-24wlr_surface: fix surface damage transformationrandom human
Damage tracking on transformed surfaces now work (see "weston-simple-damage --rotation=90"), using either of buffer or surface damage.
2018-09-24Merge pull request #1260 from RyanDwyer/xwayland-set-decorationsemersion
xwayland: Introduce set_decorations event
2018-09-24xwayland: Introduce set_decorations eventRyan Dwyer
2018-09-22Merge pull request #1257 from sghctoma/fix-protocol_mesonemersion
Fix partial dependency in protocol/meson.build
2018-09-22Merge pull request #1256 from sghctoma/fbsd-multiseat-fixesemersion
Apply multiseat fixes to FreeBSD direct backend
2018-09-21Apply multiseat fixes to FreeBSD direct backendsghctoma
This commit applies the multiseat fixes that are part of PR #1063 ( commits 964e0a50 and 47895d2) to the FreeBSD direct backend.
2018-09-21Fix partial dependency in protocol/meson.buildsghctoma
External dependencies in Meson do not have include_directories, therefore "includes: true" means nothing for the wayland-client partial dependency. Because of this, the -I CFLAGs for wayland-client are not used by the build command. This commit fixes this by using compile_args.
2018-09-19Merge pull request #1253 from RyanDwyer/multi-for-each-backendemersion
Introduce wlr_multi_for_each_backend
2018-09-19Merge pull request #1252 from emersion/fatal-unknown-bufferDrew DeVault
buffer: disconnect clients that commit an unknown buffer type
2018-09-19Merge pull request #1245 from emersion/capture-disable-hw-cursorsDrew DeVault
Disable hardware cursors when capturing output
2018-09-19Introduce wlr_multi_for_each_backendRyan Dwyer
2018-09-19buffer: disconnect clients that commit an unknown buffer typeemersion
If this happens, something went really wrong and we should do more than just logging an error. See [1]. [1]: https://gitlab.freedesktop.org/wayland/weston/issues/148
2018-09-18Merge pull request #1248 from emersion/assert-all-the-thingsDrew DeVault
Assert all the things!
2018-09-18Fix implicit conversion of floats to ints in calls to ↵Las
pixman_region32_contains_point I do not think the conversion is specifically defined, but on my system and SirCmpwn's the floats are rounded instead of floored, which is incorrect in this case, since for a range from 0 to 256, any value greater or equal to 0 and less than 256 is valid. I.e. [0;256[, or 0 <= x < 256, but if x is e.g. -0.1, then it will be rounded to 0, which is invalid. The correct behavior would be to floor to -1.
2018-09-18export-dmabuf: disable hardware cursors if desiredemersion
Also make the frame resource inert when sending "ready".
2018-09-18output: add wlr_output_set_hardware_cursors_enabledemersion
And use it in screencopy.
2018-09-18backend/drm: add assertionsemersion
2018-09-18backend/x11: add assertionsemersion
2018-09-18backend/wayland: add assertionsemersion
2018-09-18backend/session: add assertionsemersion
2018-09-18backend/multi: add assertionsemersion
2018-09-18backend/libinput: add assertionsemersion
2018-09-18backend/headless: add assertionsemersion
2018-09-18Merge pull request #1249 from arandomhuman/keymap_fdemersion
Send unique keymap file descriptors
2018-09-18Send unique keymap file descriptorsrandom human
To prevent wl_keyboard keymap being written to by clients, use a unique file descriptor for each wl_keyboard resource. Reference: weston, commit 76829fc4eaea329d2a525c3978271e13bd76c078
2018-09-18Implement pointer-constraints protocol in wlroots and rootstonLas
2018-09-18Make wlr_seat->data in rootston point to the wrapping roots_seatLas
2018-09-18Add wlr_surface::input_region memberLas
This is analogous to the opaque_region member. In addition the code for setting the opaque region is cleaned up.
2018-09-18Remove extraneous indentation and conform to coding styleLas
2018-09-18Update pointer focus when cycling focusLas
2018-09-18Make (wlr_)seat_client_from_pointer_resource publicLas
2018-09-18Make roots_cursor::pointer_view available even if there is a surfaceLas
To find out whether there was a surface or not before a movement, the member roots_cursor::wlr_surface has been added.
2018-09-18Add focus change event for seatsLas
2018-09-17Merge pull request #1250 from arandomhuman/wlr_sessionDrew DeVault
Add support for WLR_SESSION env variable
2018-09-18Add support for WLR_SESSION env variablerandom human
Valid values are "logind"/"systemd" and "direct". If WLR_SESSION is set, only its value is potentially tried; it will not try any other option.
2018-09-17Merge pull request #1246 from emersion/output-layout-no-modeDrew DeVault
output-layout: don't expose outputs without a mode