- Fix #254
This commit is contained in:
parent
c9790a6009
commit
4c074737aa
2 changed files with 5 additions and 2 deletions
|
|
@ -276,12 +276,16 @@ class Discover:
|
|||
self.voice_overlay.set_force_xshape(force)
|
||||
if self.text_overlay:
|
||||
self.text_overlay.set_force_xshape(force)
|
||||
if self.notification_overlay:
|
||||
self.notification_overlay.set_force_xshape(force)
|
||||
|
||||
def set_show_task(self, visible):
|
||||
if self.voice_overlay:
|
||||
self.voice_overlay.set_task(visible)
|
||||
if self.text_overlay:
|
||||
self.text_overlay.set_task(visible)
|
||||
if self.notification_overlay:
|
||||
self.notification_overlay.set_task(visible)
|
||||
|
||||
def set_sys_tray_icon_visible(self, visible):
|
||||
"""
|
||||
|
|
@ -326,7 +330,6 @@ def entrypoint():
|
|||
log = logging.getLogger(__name__)
|
||||
log.info("Starting Discover Overlay: %s",
|
||||
pkg_resources.get_distribution('discover_overlay').version)
|
||||
|
||||
# Flatpak compat mode
|
||||
try:
|
||||
if "container" in os.environ and os.environ["container"] == "flatpak":
|
||||
|
|
|
|||
|
|
@ -306,7 +306,7 @@ class OverlayWindow(Gtk.Window):
|
|||
"""
|
||||
self.force_xshape = force
|
||||
|
||||
if self.is_wayland:
|
||||
if self.is_wayland or self.discover.steamos:
|
||||
# Wayland and XShape are a bad idea unless you're a fan on artifacts
|
||||
self.force_xshape = False
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue