aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-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
2018-08-13move wlr_drm_connector_add_mode to wlr/backend/drm.hIlia Bozhinov
2018-08-11Merge pull request #1184 from sdilts/add-default-output-sizeemersion
Keep X11 backend windows from having an invalid size
2018-08-10Fix xcb_create_window parameterssdilts
Set the window width and height, not the location of the window.
2018-08-10rootston: Double fork for keyboard bindingsGenki Sky
This avoids leaving around zombies, without having to setup SIGCHLD handler (which interferes with other fork/waitpid calls).
2018-08-09Add guard for changing the size of X11 backend windowssdilts
Events that set the window to either a width or height of zero are now ignored and logged.
2018-08-09Set default output size for X11 backendsdilts
Fixes issue #1170 Also set the created window size to match the output size.
2018-08-09Merge pull request #1183 from ammen99/masteremersion
remove dangling declaration of wlr_xdg_surface_popup_get_position()
2018-08-09remove dangling declaration of wlr_xdg_surface_popup_get_position()Ilia Bozhinov
2018-08-09Merge pull request #1182 from ammen99/masterScott Anderson
session: load GPU devices even if they have zero connectors
2018-08-08session: load GPU devices even if they have zero crtcs/connectors/encodersIlia Bozhinov
On some systems (most notably laptops with two GPUs) there are GPUs that don't have attached outputs. However, we still want to load those GPUs because they could still be used by the compositor for rendering.
2018-08-06Merge pull request #1179 from emersion/rootston-toggle-decoration-modeDrew DeVault
rootston: add keybinding to toggle decoration mode
2018-08-06rootston: add keybinding to toggle decoration modeemersion
2018-08-05Merge pull request #1177 from ascent12/check_primeemersion
Check for DRM prime
2018-08-05Check for DRM primeScott Anderson
This will indicate the user properly when multi-GPU is not supported by their GPU driver.
2018-08-04Merge pull request #1168 from manio/multi-gpuDrew DeVault
Fix support for multiple GPU
2018-08-04Remove unused data from gbm_bo userdataScott Anderson
These aren't used anymore and crashes when the gbm_bo tries to get destroyed (e.g. on hotplug).
2018-08-04Fix hardware cursor on secondary GPUScott Anderson
Create rendering resources on parent GPU, so that we can sample the passed in texture properly. The cursor buffer needs to remain on the same GPU.
2018-08-03Merge pull request #1175 from emersion/fix-xdg-output-layout-destroyRyan Dwyer
xdg-output: fix segfault in handle_layout_destroy
2018-08-03xdg-output: fix segfault in handle_layout_destroyemersion
2018-08-03multi-gpu: do not flip screens on secondary GPUMariusz Bialonczyk
All screens on secondary GPU in multiple GPU configurations was flipped 180. The flipped screens was always on secondary card (the primary card was always correct). Tested on nouveau with: WLR_DRM_DEVICES=/dev/dri/card1:/dev/dri/card2 WLR_DRM_DEVICES=/dev/dri/card2:/dev/dri/card1 The commit is fixing this problem. Now all screens are "normal".
2018-08-03gles2: change context when it is not currentMariusz Bialonczyk
Texture functions, that create and manipulate textures should switch the current context if necessary. thanks to: @emersion Fixes #934
2018-08-03multi-backend: do not expose internal renderersMariusz Bialonczyk
backend_get_renderer() is now returning the renderer of the primary GPU, instead of its own renderer, since that's the thing which actually does all of the "real" rendering wlr_multi_backend_add() is now adding all subbackends (otherwise only one GPU is handled). credits: @ascent12