mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-01 19:36:04 +08:00
Provisioning: Ubuntu - remove Unity window decorations
Unity does not respect setGeometry() call, which is violation of WM spec. During the years we have tried various workarounds, but it has proved to be counterproductive. This patch adjusts Unity theme to not draw window decorations, ensuring that Unity treats the setGeometry() call the same way all the other WMs and platforms we are testing on. For more detailed explanation see QTBUG-67757. Task-number: QTBUG-67757 Change-Id: I8d2bb9f2af14d3c184fc218ed08a1febd70f4026 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
This commit is contained in:
@@ -59,3 +59,6 @@ echo "$NTS_IP qt-test-server qt-test-server.qt-test-net" | sudo tee -a /etc/h
|
||||
if [ "$http_proxy" != "" ]; then
|
||||
echo "Acquire::http::Proxy \"$proxy\";" | sudo tee -a /etc/apt/apt.conf
|
||||
fi
|
||||
|
||||
# This won't be needed for Ubuntu 17 and above, see QTBUG-67757.
|
||||
sudo sed -i '/-UnityDecoration-extents/c\ -UnityDecoration-extents: 0 0 0 0;' /usr/share/themes/Ambiance/gtk-3.0/apps/unity.css
|
||||
|
||||
Reference in New Issue
Block a user