mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-22 20:49:49 +01:00
core: add libinput backend support for headless session (#5699)
This commit is contained in:
parent
012a2802e0
commit
855a516596
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ void CCompositor::initServer() {
|
|||
wlr_multi_for_each_backend(
|
||||
m_sWLRBackend,
|
||||
[](wlr_backend* backend, void* isHeadlessOnly) {
|
||||
if (!wlr_backend_is_headless(backend))
|
||||
if (!wlr_backend_is_headless(backend) && !wlr_backend_is_libinput(backend))
|
||||
*(bool*)isHeadlessOnly = false;
|
||||
},
|
||||
&isHeadlessOnly);
|
||||
|
|
Loading…
Reference in a new issue