hc
2023-05-26 a23f51ed7a39e452c1037343a84d7db1ca2c5bd7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From 91c601265306f35df13500c54069a3c2878f725c Mon Sep 17 00:00:00 2001
From: Jeffy Chen <jeffy.chen@rock-chips.com>
Date: Wed, 26 Dec 2018 17:40:19 +0800
Subject: [PATCH 2/2] qt: FullScreenVideoWidget: Use transparent background
 
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
---
 Source/WebKit/qt/WidgetSupport/FullScreenVideoWidget.cpp | 1 +
 1 file changed, 1 insertion(+)
 
diff --git a/Source/WebKit/qt/WidgetSupport/FullScreenVideoWidget.cpp b/Source/WebKit/qt/WidgetSupport/FullScreenVideoWidget.cpp
index 4105d02..2c40ba0 100644
--- a/Source/WebKit/qt/WidgetSupport/FullScreenVideoWidget.cpp
+++ b/Source/WebKit/qt/WidgetSupport/FullScreenVideoWidget.cpp
@@ -49,6 +49,7 @@ FullScreenVideoWidget::FullScreenVideoWidget()
 
     setWindowModality(Qt::ApplicationModal);
     setWindowFlags(windowFlags() | Qt::FramelessWindowHint);
+    setAttribute(Qt::WA_TranslucentBackground, true);
 
     setGeometry(QApplication::desktop()->screenGeometry());
 
-- 
2.11.0