aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-09-28Use == to check system instead of a prefix matchsghctoma
2018-09-28Set minimum Meson version to 0.48.0sghctoma
This commit sets the required Meson version to >=0.48.0, and removes the comment about building on FreeBSD requires an extra flag.
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-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-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-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-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
2018-09-17output-layout: don't expose outputs without a modeemersion
2018-09-16Merge pull request #1237 from emersion/disabled-crtcDrew DeVault
Steal CRTCs from disabled outputs
2018-09-15backend/drm: steal CRTCs from disabled outputsemersion
This commit allows outputs that need a CRTC to steal it from user-disabled outputs. Note that in the case there are enough CRTCs, disabled outputs don't loose it (so there's no modeset and plane initialization needed after DPMS). CRTC allocation still prefers to keep the old configuration, even if that means allocating an extra CRTC to a disabled output. CRTC reallocation now happen when enabling/disabling an output as well as when trying to modeset. When enabling an output without a CRTC, we realloc to try to steal a CRTC from a disabled output (that doesn't really need the CRTC). When disabling an output, we try to give our CRTC to an output that needs one. Modesetting is similar to enabling. A new DRM connector field has been added: `desired_enabled`. Outputs without CRTCs get automatically disabled. This field keeps track of the state desired by the user, allowing to automatically re-enable outputs when a CRTC becomes free. This required some changes to the allocation algorithm. Previously, the algorithm tried to keep the previous configuration even if a new configuration with a better score was possible (it only changed configuration when the old one didn't work anymore). This is now changed and the old configuration (still preferred) is only retained without considering new possibilities when it's perfect (all outputs have CRTCs). User-disabled outputs now have `possible_crtcs` set to 0, meaning they can only retain a previous CRTC (not acquire a new one). The allocation algorithm has been updated to do not bump the score when assigning a CRTC to a disabled output.
2018-09-14Merge pull request #1241 from emersion/output-enable-error-checkingDrew DeVault
output: make wlr_output_enable return a bool
2018-09-14Merge pull request #1243 from emersion/layer-shell-suffixDrew DeVault
layer-shell: add _v1 suffix
2018-09-14Merge pull request #1244 from emersion/xdg-output-suffixDrew DeVault
xdg-output: add _v1 suffix
2018-09-14Merge pull request #1240 from emersion/no-hardware-cursorsDrew DeVault
output: introduce WLR_NO_HARDWARE_CURSORS
2018-09-14layer-shell: add _v1 suffixemersion
2018-09-14xdg-output: add _v1 suffixemersion
2018-09-14output: make wlr_output_enable return a boolemersion
2018-09-14output: introduce WLR_NO_HARDWARE_CURSORSemersion
2018-09-12Merge pull request #1160 from Ongy/tablet-grabsemersion
Tablet grabs
2018-09-11Merge pull request #1239 from dcz-purism/layer_order_masterDrew DeVault
rootston: Keep older anchored layers near anchor points
2018-09-11rootston: Keep older anchored layers near anchor pointsDorota Czaplejewicz
Layer surfaces are attached to edges of the screen starting with the youngest, causing new ones to always displace existing ones. This changes the order to oldest first, keeping the positions more often.
2018-09-10Merge pull request #1235 from emersion/dealloc-unused-crtcsDrew DeVault
backend/drm: de-allocate unused CRTCs
2018-09-10Merge pull request #1227 from emersion/rootston-segfault-tablet-destroyDrew DeVault
rootston: fix segfault on tablet pad destroy
2018-09-10Merge pull request #1205 from sghctoma/fix-freebsd-direct-sessionDrew DeVault
Add drmSetMaster and drmDropMaster calls to FreeBSD direct session
2018-09-10backend/drm: de-allocate unused CRTCsemersion
They can be re-used by another output after a subsequent hotplug.