main window temporary hide bug seems to be fixed
This commit is contained in:
@@ -4,8 +4,6 @@ clientmachine=localhost
|
||||
clientmachinematch=0
|
||||
desktop=-1
|
||||
desktoprule=2
|
||||
fsplevel=2
|
||||
fsplevelrule=2
|
||||
skippager=true
|
||||
skippagerrule=2
|
||||
wmclass=photoframe
|
||||
|
||||
@@ -61,7 +61,7 @@ class Window(QDialog):
|
||||
|
||||
self.ui = Ui_PhotoFrame()
|
||||
self.ui.setupUi(self)
|
||||
self.setWindowFlags(MainWindowType | Qt.FramelessWindowHint | Qt.WindowStaysOnBottomHint)
|
||||
self.setWindowFlags(MainWindowType | Qt.FramelessWindowHint)
|
||||
self.locked = True
|
||||
self.resize(SizeX, SizeY)
|
||||
self.move(PosX,PosY)
|
||||
@@ -95,7 +95,7 @@ class Window(QDialog):
|
||||
window.show()
|
||||
|
||||
def Lock(self):
|
||||
window.setWindowFlags(MainWindowType | Qt.FramelessWindowHint | Qt.WindowStaysOnBottomHint)
|
||||
window.setWindowFlags(MainWindowType | Qt.FramelessWindowHint)
|
||||
self.locked = True
|
||||
window.show()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user