mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-02 19:05:58 +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(
|
wlr_multi_for_each_backend(
|
||||||
m_sWLRBackend,
|
m_sWLRBackend,
|
||||||
[](wlr_backend* backend, void* isHeadlessOnly) {
|
[](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;
|
*(bool*)isHeadlessOnly = false;
|
||||||
},
|
},
|
||||||
&isHeadlessOnly);
|
&isHeadlessOnly);
|
||||||
|
|
Loading…
Reference in a new issue