Age | Commit message (Collapse) | Author |
|
This fixes building wlroots as a subproject.
|
|
This reverts commit 9c886f20b97b6ab1ac85b849f1fe7f16eb199ff0.
|
|
This breaks wlroots when used as a meson subproject.
This reverts commit dea311992eb4ff3e343c3cf5b0603034223d2a42, reversing
changes made to 6db9c4b74667c1d917d720f5e96985a2461569fb.
|
|
Build system changes
|
|
This stops the protocol header constantly being regenerated for every
target using them.
|
|
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.
|
|
This is so that log messages are printed properly when wlroots is build
as a subproject.
|
|
|
|
|
|
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.
|
|
|
|
|
|
Meson handles rpath properly, and we don't need to use -I ourselves by
using include_directories with '.'.
|
|
So the library is rebuilt properly when it's updated.
|
|
We use a dictionary to remove some code duplication.
|
|
|
|
|
|
We now use a combo choice between systemd/elogind as they are mutually
exclusive anyway.
|
|
Bump minimum meson version to 0.47 for the feature.
|
|
|
|
backend/drm: add support for DRM_MODE_CONNECTOR_DPI
|
|
|
|
Had an outdated copy of wlroots, so missed that one.
|
|
ctags: use -f instead of -o
|
|
Fix build on FreeBSD
|
|
The later does not exist on FreeBSD
See #725
|
|
|
|
move wlr_drm_connector_add_mode to wlr/backend/drm.h
|
|
|
|
Keep X11 backend windows from having an invalid size
|
|
Set the window width and height, not the location of the window.
|
|
This avoids leaving around zombies, without having to setup SIGCHLD
handler (which interferes with other fork/waitpid calls).
|
|
Events that set the window to either a width or height of zero are now
ignored and logged.
|
|
Fixes issue #1170
Also set the created window size to match the output size.
|
|
remove dangling declaration of wlr_xdg_surface_popup_get_position()
|
|
|
|
session: load GPU devices even if they have zero connectors
|
|
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.
|
|
rootston: add keybinding to toggle decoration mode
|
|
|
|
Check for DRM prime
|
|
This will indicate the user properly when multi-GPU is not supported by
their GPU driver.
|
|
Fix support for multiple GPU
|
|
These aren't used anymore and crashes when the gbm_bo tries to get
destroyed (e.g. on hotplug).
|
|
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.
|
|
xdg-output: fix segfault in handle_layout_destroy
|
|
|
|
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".
|
|
Texture functions, that create and manipulate textures should switch
the current context if necessary.
thanks to: @emersion
Fixes #934
|
|
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
|