Drop shadow effect in Weston

Published:

Weston terminal has a shadow effect.

Me: I want the same thing for my Qt app!
Weston: No
Weston (hesitantly): But you can draw it by yourself

In other words, trying to add shadow effect to Qt app in Weston is bleeding edge technologies. As always.

Before we start. Here is more shadow examples:

Window flags

https://doc.qt.io/qt-5/qtwidgets-widgets-windowflags-example.html

Wayland Decoration Plugin

Qt Wayland decoration plugin bradient https://lists.qt-project.org/pipermail/development/2015-November/023663.html

QT_WAYLAND_DECORATION=material

Window property

window->sendProperty("drawServerShadow", "true");

Client side decoration (CSD)

QT_WAYLAND_DISABLE_WINDOWDECORATION

Rate this page