Skip to content

Commit

Permalink
no such method 'get_rgb_visual' for fallback path
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Aug 20, 2024
1 parent 739b57d commit 350bd4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xpra/x11/gtk_x11/tray.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ def setup_tray_window(self) -> None:
if TRANSPARENCY:
visual = screen.get_rgba_visual()
if visual is None:
log.warn("setup tray: using rgb visual fallback")
visual = screen.get_rgb_visual()
log.warn("setup tray: using system visual fallback")
visual = screen.get_system_visual()
assert visual is not None, "failed to obtain visual"
self.tray_window = GDKX11Window(root, width=1, height=1,
title="Xpra-SystemTray",
Expand Down

0 comments on commit 350bd4a

Please sign in to comment.