[x11] root window support _NET_WM_WINDOW_OPACITY

java gui will check this property on root window.

see:
6b55ef3b58/src/java.desktop/unix/classes/sun/awt/X11/XNETProtocol.java (L328)

Signed-off-by: Hongfei Shang <shanghongfei@kylinos.cn>
This commit is contained in:
Hongfei Shang 2022-12-03 16:01:54 +08:00 committed by Vlad Zahorodnii
parent 09a41d3851
commit ebafdc4400

View file

@ -100,7 +100,8 @@ RootInfo *RootInfo::create()
| NET::WM2KDEShadow
| NET::WM2OpaqueRegion
| NET::WM2GTKFrameExtents
| NET::WM2GTKShowWindowMenu;
| NET::WM2GTKShowWindowMenu
| NET::WM2Opacity;
#if KWIN_BUILD_ACTIVITIES
properties2 |= NET::WM2Activities;
#endif