Skip to content

Commit

Permalink
Merge pull request #2520 from yunline/doc-indent-warning
Browse files Browse the repository at this point in the history
Fix problems caused by #2379
  • Loading branch information
MyreMylar authored Oct 16, 2023
2 parents e3d34b4 + bbd7491 commit 9b4c558
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion docs/reST/ref/sdl2_video.rst
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
the window is full-screen to ensure the user is not trapped in your application.
If you have a custom keyboard shortcut to exit fullscreen mode, you may suppress
this behavior with an environment variable, e.g.
``os.environ["SDL_ALLOW_ALT_TAB_WHILE_GRABBED"] = "0"``.
``os.environ["SDL_ALLOW_ALT_TAB_WHILE_GRABBED"] = "0"``.

This attribute requires SDL 2.0.16+.

Expand Down
2 changes: 0 additions & 2 deletions test/window_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
from pygame._sdl2.video import Window
from pygame.version import SDL

os.environ["SDL_VIDEODRIVER"] = "dummy"

pygame.init()


Expand Down

0 comments on commit 9b4c558

Please sign in to comment.