aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-09-03Add support for setting log verbosity in rootstonrandom human
2018-09-03Close stdout/stderr for Xwaylandrandom human
Depending on the log verbosity, close the stdout/stderr streams.
2018-09-01Add function wlr_log_get_verbosity()random human
Returns the verbosity passed to wlr_log_init().
2018-09-01Merge pull request #1211 from aereaux/aereaux-patch-1Ryan Dwyer
Fix uninitialized value in wlr_cursor.
2018-08-31Fix uninitialized value in wlr_cursor.Aidan Epstein
2018-08-31Merge pull request #1210 from ammen99/fix-includeDrew DeVault
add missing wlr_box.h include in wlr_screencopy_v1.h
2018-08-31add missing wlr_box.h include in wlr_screencopy_v1.hIlia Bozhinov
2018-08-31Add clang's static analyzer to build.ymlrandom human
2018-08-31Fix bugs listed by clang's static analyzerrandom human
A few pedantic changes and unused variables (1-4), and genuine bugs (5, 6). The reports with the corresponding files and lines numbers are as follows. 1. backend/libinput/tablet_pad.c@31,44,57 "Allocator sizeof operand mismatch" "Result of 'calloc' is converted to a pointer of type 'unsigned int', which is incompatible with sizeof operand type 'int'" 2. types/tablet_v2/wlr_tablet_v2_pad.c@371 "Allocator sizeof operand mismatch" "Result of 'calloc' is converted to a pointer of type 'uint32_t', which is incompatible with sizeof operand type 'int'" 3. types/wlr_cursor.c@335 "Dead initialization" "Value stored to 'dx'/'dy' during its initialization is never read" 4. rootston/xdg_shell.c@510 "Dead initialization" "Value stored to 'desktop' during its initialization is never read" 5. types/tablet_v2/wlr_tablet_v2_pad.c@475 "Dereference of null pointer" "Access to field 'strips' results in a dereference of a null pointer (loaded from field 'current_client')" The boolean logic was incorrect (c.f. the check in the following function). 6. examples/idle.c@163,174,182 "Uninitialized argument value" "1st function call argument is an uninitialized value" If close_timeout != 0, but simulate_activity_timeout >= close_timeout, the program would segfault at pthread_cancel(t1).
2018-08-30Merge pull request #1208 from arandomhuman/masterDrew DeVault
Fixes examples/dmabuf-capture being built with unmet dependencies
2018-08-30Fixes examples/dmabuf-capture being built with unmet dependenciesrandom human
Even if the libav* variables were disabler objects, the build targer dmabuf-capture was being built. Modified the script to support a generic solution.
2018-08-29Use legacy modesetting for gamma controlDrew DeVault
It doesn't look like there's any motion on a fix from the AMDGPU side, and using the legacy interface for this isn't so bad.
2018-08-28Merge pull request #1196 from dcz-purism/surface_moveBrian Ashworth
rootston/surface_layers: fix clicking after surface moved
2018-08-27Merge pull request #1202 from alexbakker/destroy-signal-fixDrew DeVault
Init the new destroy signals added by #1200
2018-08-27Init the new destroy signals added by #1200Alexander Bakker
2018-08-27Merge pull request #1200 from alexbakker/destroy-signalDrew DeVault
Add destroy signals to types that are destroyed by wl_display_destroy
2018-08-26Add destroy signals to types that are destroyed by wl_display_destroyAlexander Bakker
2018-08-25Merge pull request #1199 from apreiml/farthest_outputBrian Ashworth
introduce wlr_output_layout_farthest_output
2018-08-25introduce wlr_output_layout_farthest_outputArmin Preiml
Similar to wlr_output_layout_adjacent_output but will return the one that is the farthest away from the reference in given direction.
2018-08-24Update required meson version to 0.47.1Drew DeVault
2018-08-24Merge pull request #1198 from ascent12/meson_featureDrew DeVault
Fix meson changes
2018-08-24Change how glgen.sh outputs filesScott Anderson
This fixes building wlroots as a subproject.
2018-08-24Revert "Revert "Merge pull request #1194 from ascent12/meson_feature""Scott Anderson
This reverts commit 9c886f20b97b6ab1ac85b849f1fe7f16eb199ff0.
2018-08-23Revert "Merge pull request #1194 from ascent12/meson_feature"Drew DeVault
This breaks wlroots when used as a meson subproject. This reverts commit dea311992eb4ff3e343c3cf5b0603034223d2a42, reversing changes made to 6db9c4b74667c1d917d720f5e96985a2461569fb.
2018-08-23Merge pull request #1194 from ascent12/meson_featureDrew DeVault
Build system changes
2018-08-23rootston/layer_shell: fix clicking after surface moved/resizedDorota Czaplejewicz
Layer surfaces are not notified of cursor position changes if the surface moves, only if the cursor moves. This workaround emits a cursor position event every time a cursor ends up over a newly resized layer surface to make sure the following clicks land in the right place. This change doesn't address sending leave events when a cursor previously present over the surface becomes away. There are 2 separate mechanisms in play, because a layer surface gets resized in 2 steps: 1. Layer surface resize & rearrange. 2. Underlying surface resize. The first step may affect all layer surfaces. The cursor events are sent to cursors placed over all layer surfaces which have moved (not been resized). The second step affects any layer surface whose surface changed size. The cursor event is sent only to that surface. Together, these events cover all surfaces: those which moves, and those which changed size, as long as each layer surface resize is accompanied by an immediate surface resize.
2018-08-23Replace generator with custom_targetScott Anderson
This stops the protocol header constantly being regenerated for every target using them.
2018-08-23Use input file for configure_fileScott Anderson
This is so we can potentially add comments to it, and so if a user looks at the installed header, they can see the /* #undef WLR_HAS_FEATURE */ line to see every option, even if not available.
2018-08-23Use current_source_dir instead of source_rootScott Anderson
This is so that log messages are printed properly when wlroots is build as a subproject.
2018-08-23Use pkg-config to find wayland-scannerScott Anderson
2018-08-22wlr_virtual_keyboard: use wlr_input_device_destroyDorota Czaplejewicz
2018-08-22wlr_input_device: fix keyboard destructionDorota Czaplejewicz
After destroying a keyboard input device, seat's listeners could still be pointing to destroyed wlr_input_device signals. This patch makes sure the references are removed while the input device is being destroyed.
2018-08-22Install headers explicitlyScott Anderson
2018-08-22Make style more consistentScott Anderson
2018-08-22Remove unnecessary project argumentsScott Anderson
Meson handles rpath properly, and we don't need to use -I ourselves by using include_directories with '.'.
2018-08-22Add link dependency on symbols fileScott Anderson
So the library is rebuilt properly when it's updated.
2018-08-22Update examples to use new optionScott Anderson
We use a dictionary to remove some code duplication.
2018-08-22Update rootston to use new optionScott Anderson
2018-08-22Use new options for X11 backend and XwaylandScott Anderson
2018-08-22Use feature options for libcap/logindScott Anderson
We now use a combo choice between systemd/elogind as they are mutually exclusive anyway.
2018-08-22Add new feature optionsScott Anderson
Bump minimum meson version to 0.47 for the feature.
2018-08-22Remove unneeded mesa-specific headerScott Anderson
2018-08-21Merge pull request #1191 from emersion/drm-conn-dpiDrew DeVault
backend/drm: add support for DRM_MODE_CONNECTOR_DPI
2018-08-21backend/drm: add support for DRM_MODE_CONNECTOR_DPIemersion
2018-08-16rootston: fix again FreeBSD buildemersion
Had an outdated copy of wlroots, so missed that one.
2018-08-16Merge pull request #1189 from agx/ctags-femersion
ctags: use -f instead of -o
2018-08-16Merge pull request #1188 from emersion/freebsd-fixesemersion
Fix build on FreeBSD
2018-08-16ctags: use -f instead of -oGuido Günther
The later does not exist on FreeBSD See #725
2018-08-16Fix build on FreeBSDemersion
2018-08-13Merge pull request #1187 from ammen99/masteremersion
move wlr_drm_connector_add_mode to wlr/backend/drm.h