Skip to content

Commit ea376e3

Browse files
committed
feat: implement multi-seat support
Core features: - Add WSeatManager for seat configuration management - Extend WSeat with device rule matching capabilities
1 parent bdee8eb commit ea376e3

21 files changed

Lines changed: 2060 additions & 285 deletions

src/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,10 +169,14 @@ qt_add_qml_module(libtreeland
169169
output/outputlifecyclemanager.h
170170
seat/helper.cpp
171171
seat/helper.h
172+
seat/seatsmanager.cpp
173+
seat/seatsmanager.h
172174
session/session.cpp
173175
session/session.h
174176
surface/surfacecontainer.cpp
175177
surface/surfacecontainer.h
178+
surface/seatsurfacemanager.cpp
179+
surface/seatsurfacemanager.h
176180
surface/surfacefilterproxymodel.cpp
177181
surface/surfacefilterproxymodel.h
178182
surface/surfaceproxy.cpp

src/common/treelandlogging.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (C) 2025 UnionTech Software Technology Co., Ltd.
1+
// Copyright (C) 2025-2026 UnionTech Software Technology Co., Ltd.
22
// SPDX-License-Identifier: Apache-2.0 OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
33

44
#include "common/treelandlogging.h"
@@ -16,6 +16,9 @@ Q_LOGGING_CATEGORY(treelandShell, "treeland.shell")
1616
Q_LOGGING_CATEGORY(treelandInput, "treeland.input")
1717
Q_LOGGING_CATEGORY(treelandGestures, "treeland.gestures")
1818

19+
// Seat management
20+
Q_LOGGING_CATEGORY(treelandSeat, "treeland.seat")
21+
1922
// Output module
2023
Q_LOGGING_CATEGORY(treelandOutput, "treeland.output")
2124

src/common/treelandlogging.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (C) 2025 UnionTech Software Technology Co., Ltd.
1+
// Copyright (C) 2025-2026 UnionTech Software Technology Co., Ltd.
22
// SPDX-License-Identifier: Apache-2.0 OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
33

44
#ifndef TREELAND_LOGGING_H
@@ -20,6 +20,9 @@ Q_DECLARE_LOGGING_CATEGORY(treelandShell)
2020
Q_DECLARE_LOGGING_CATEGORY(treelandInput)
2121
Q_DECLARE_LOGGING_CATEGORY(treelandGestures)
2222

23+
// Seat management
24+
Q_DECLARE_LOGGING_CATEGORY(treelandSeat)
25+
2326
// Output module
2427
Q_DECLARE_LOGGING_CATEGORY(treelandOutput)
2528

0 commit comments

Comments
 (0)