From ebafdc44003f5974a8ba1a6fa0a8295221999751 Mon Sep 17 00:00:00 2001 From: Hongfei Shang Date: Sat, 3 Dec 2022 16:01:54 +0800 Subject: [PATCH] [x11] root window support _NET_WM_WINDOW_OPACITY java gui will check this property on root window. see: https://github.com/openjdk/jdk/blob/6b55ef3b58ae405c46f440e06b5adb03cec3a500/src/java.desktop/unix/classes/sun/awt/X11/XNETProtocol.java#L328 Signed-off-by: Hongfei Shang --- src/netinfo.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/netinfo.cpp b/src/netinfo.cpp index 13f58d524e..56b7f63573 100644 --- a/src/netinfo.cpp +++ b/src/netinfo.cpp @@ -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