Skip to content

Commit

Permalink
SplashScreen: Set fixed size (#1139)
Browse files Browse the repository at this point in the history
Fixes issue on i3wm with the splash screen being stretched out to occupy
a full window instead of acting like a floating splash screen.
  • Loading branch information
mborgerson authored Nov 29, 2023
1 parent 0602568 commit f576226
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions angrmanagement/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit f576226

Please sign in to comment.