Changed how no_titlebar is implemented on linux

This commit is contained in:
MikeTheWatchGuy 2019-05-16 17:04:08 -04:00
parent 6e0193c833
commit 8a7fc67abe
1 changed files with 4 additions and 1 deletions

View File

@ -6136,7 +6136,10 @@ def ConvertFlexToTK(MyFlexForm):
InitializeResults(MyFlexForm)
try:
if MyFlexForm.NoTitleBar:
MyFlexForm.TKroot.wm_overrideredirect(True)
if sys.platform == 'linux':
MyFlexForm.TKroot.wm_attributes("-type","splash")
else:
MyFlexForm.TKroot.wm_overrideredirect(True)
except:
pass
PackFormIntoFrame(MyFlexForm, master, MyFlexForm)