8000 Disable shadow window on all platforms (#2621) · pythonarcade/arcade@9e24612 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9e24612

Browse files
authored
Disable shadow window on all platforms (#2621)
1 parent ec01950 commit 9e24612

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

arcade/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,11 @@ def configure_logging(level: int | None = None):
7171
pyglet.options.headless = headless
7272

7373

74-
from arcade import utils
75-
74+
# from arcade import utils
7675
# Disable shadow window on macs and in headless mode.
77-
if sys.platform == "darwin" or os.environ.get("ARCADE_HEADLESS") or utils.is_raspberry_pi():
78-
pyglet.options.shadow_window = False
76+
# if sys.platform == "darwin" or os.environ.get("ARCADE_HEADLESS") or utils.is_raspberry_pi():
77+
# NOTE: We always disable shadow window now to have consistent behavior across platforms.
78+
pyglet.options.shadow_window = False
7979

8080
# Imports from modules that don't do anything circular
8181

0 commit comments

Comments
 (0)
0