Commit Graph

17 Commits

Author SHA1 Message Date
de9fdb3fb7 Support XDG activation
QWaylandLayerShellIntegration has virtual hooks for Xdg Activation.

This is important to hook up in layer shell because activation using
requestActivate in Qt will go through this path. It also means we have
support for us to drop the implementation in KWindowSystem in favour of
calling into Qt.
2023-11-06 12:41:20 +00:00
143fd1755a Expose the Window interface to QML
If we are designing our UI's windows from QML, it makes sense that we
might want to configure how they're placed from the same place.

Everything was already in place but for a few technical bits which this
change adds.

Signed-off-by: Victoria Fischer <victoria.fischer@mbition.io>
2023-07-13 11:23:01 +02:00
3bfed84c45 Now we depend against qt6 2023-06-08 19:17:22 +02:00
2985398375 Port to QWaylandWindow::setShellIntegration()
With QWaylandWindow::setShellIntegration(), it's possible to use
xdg-shell and layer-shell protocols in the same process. It's important
for plasmashell, where we want to use the layer shell protocol for
special surfaces such as the desktop background, and the xdg shell
protocol for dialogs.

In order to make a QWindow use the layer shell protocol, you need to
call LayerShellQt::Window::get() before the window is mapped.
2023-04-22 12:11:01 +03:00
7de801802b Revert "Show all headers in qtc6"
There was no consensus for this in Plasma.
This reverts commit 22df3fe914.
2023-01-24 08:49:43 +01:00
22df3fe914 Show all headers in qtc6 2023-01-22 17:38:12 +00:00
ae883df5b1 Build with Qt6 2022-03-06 10:54:56 +01:00
7d46bd63c5 Port away from ECMSetupVersion's deprecated *_VERSION_STRING CMake variable
GIT_SILENT
2021-05-04 23:35:44 +02:00
549f5ad682 Link against xkbcommon
Otherwise the build fails with missing xkbcommon headers
2021-04-15 20:46:25 +02:00
efa32dfbe3 Use unversioned Qt targets 2021-04-06 13:54:43 +02:00
1bf7276d53 Add SPDX 2021-04-06 13:05:53 +02:00
4a3d27d0be Fix build of the layer-shell plugin
It's missing a dependency on Wayland::Client.
Also, it uses LayerShellQtInterface, which is only defined later, move it.
2021-04-01 22:36:29 +02:00
cffdab8c33 Use debug logging categories 2021-04-01 17:55:58 +02:00
be966dbeb6 Install headers in the right directory 2021-04-01 14:06:10 +02:00
53a97fc89e Make sure it's findable 2021-04-01 03:12:40 +02:00
41704f8d15 Fixes 2021-04-01 02:45:31 +02:00
ea3e4b3139 Initial commit 2021-04-01 02:28:01 +02:00