kwineffects: Stop linking kwayland-server

As is, libkwineffects doesn't use any specific apis in kwayland-server,
it simply "forwards" wayland display and surfaces from libkwin. Given
that, there is no need to link libkwineffects with kwayland-server. If
an effect needs to access wayland specific stuff, it can link explicitly
against kwayland-server.

The main motivation behind this change is to further loosen up
dependencies between various kwin components and kwayland-server so the
latter can be moved back to kwin.
This commit is contained in:
Vlad Zahorodnii 2021-10-18 16:35:57 +03:00
parent a9ccfba768
commit 4dafacc00b
2 changed files with 1 additions and 1 deletions

View file

@ -20,6 +20,7 @@ set(kwin_effect_KDE_LIBS
KF5::Plasma # screenedge effect
KF5::WindowSystem
KF5::Service # utils / screenshot effect
Plasma::KWaylandServer
)
if (HAVE_ACCESSIBILITY)

View file

@ -52,7 +52,6 @@ target_link_libraries(kwineffects
KF5::CoreAddons
KF5::WindowSystem
XCB::XCB
Plasma::KWaylandServer
PRIVATE
Qt::Quick
KF5::Declarative