Wayland OSD is fullscreen now, fixes bug where it's off center
This commit is contained in:
parent
33d7cb65f9
commit
361f09c728
5
main.py
5
main.py
@ -289,7 +289,10 @@ def qt_process():
|
|||||||
osd.close_widget()
|
osd.close_widget()
|
||||||
# Create new OSD
|
# Create new OSD
|
||||||
osd = OsdWidget(command['channel_info'])
|
osd = OsdWidget(command['channel_info'])
|
||||||
osd.show()
|
if is_wayland:
|
||||||
|
osd.showFullScreen()
|
||||||
|
else:
|
||||||
|
osd.show()
|
||||||
elif command['action'] == 'start_close':
|
elif command['action'] == 'start_close':
|
||||||
if osd is not None:
|
if osd is not None:
|
||||||
osd.start_close_timer()
|
osd.start_close_timer()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user