From f57622655c0b34ee71a9c8d39b2e8e82e9a10908 Mon Sep 17 00:00:00 2001 From: mborgerson Date: Wed, 29 Nov 2023 00:46:24 -0700 Subject: [PATCH] SplashScreen: Set fixed size (#1139) Fixes issue on i3wm with the splash screen being stretched out to occupy a full window instead of acting like a floating splash screen. --- angrmanagement/__main__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/angrmanagement/__main__.py b/angrmanagement/__main__.py index eb4bed010..8154a1b45 100644 --- a/angrmanagement/__main__.py +++ b/angrmanagement/__main__.py @@ -109,6 +109,7 @@ def drawContents(self, painter): splash_pixmap = QPixmap(splashscreen_location) current_screen = QGuiApplication.screenAt(QCursor.pos()) splash = SplashScreen(current_screen, splash_pixmap, Qt.WindowStaysOnTopHint) + splash.setFixedSize(splash_pixmap.size()) icon_location = os.path.join(IMG_LOCATION, "angr.png") splash.setWindowIcon(QIcon(icon_location))