Skip to content

Commit

Permalink
fix: prevent overlay from showing above other windows (Linux)
Browse files Browse the repository at this point in the history
  • Loading branch information
vzhd1701 committed Jul 7, 2022
1 parent ef72d6a commit 98caea7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gridplayer/widgets/video_overlay.py
Expand Up @@ -272,6 +272,9 @@ def init_flags(self):
self.setAttribute(Qt.WA_NoSystemBackground)
self.setAttribute(Qt.WA_TranslucentBackground)

# Prevent from shooting up on top of other windows on show()
self.setAttribute(Qt.WA_ShowWithoutActivating)

# Allow window to move beyond screen edge
self.setAttribute(Qt.WA_X11NetWmWindowTypeDesktop)

Expand Down

0 comments on commit 98caea7

Please sign in to comment.