shift-shell/components/windowplugin/CMakeLists.txt
Devin Lin 5c53f9b6d2 windowplugin: Add per-screen support for WindowMaximizedTracker
Contributes to #317

This refactor changes WindowMaximizedTracker from being a Singleton, and allows for it to be created in a way such that screens can be filtered out.

This fixes external screens from having their homescreen "zoom out" when an app is maximized on another screen.
2024-06-26 00:44:31 +00:00

20 lines
543 B
CMake

# SPDX-FileCopyrightText: 2023 Devin Lin <devin@kde.org>
# SPDX-License-Identifier: GPL-2.0-or-later
ecm_add_qml_module(windowplugin URI org.kde.plasma.private.mobileshell.windowplugin GENERATE_PLUGIN_SOURCE)
target_sources(windowplugin PRIVATE windowutil.cpp)
ecm_target_qml_sources(windowplugin SOURCES qml/WindowMaximizedTracker.qml)
target_link_libraries(windowplugin PRIVATE
Qt::Qml
Qt::DBus
Qt::Gui
Qt::Quick
Plasma::KWaylandClient
KF6::Service
KF6::ConfigWidgets
)
ecm_finalize_qml_module(windowplugin)